Home
last modified time | relevance | path

Searched refs:isObject (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/jsframework/test/ut/
Dutils.ts31 expect(utils.isObject).to.be.an.instanceof(Function);
32 expect(utils.isObject({})).eql(true);
33 expect(utils.isObject([])).eql(true);
34 expect(utils.isObject('a')).eql(false);
35 expect(utils.isObject(0)).eql(false);
36 expect(utils.isObject(true)).eql(false);
37 expect(utils.isObject(null)).eql(false);
38 expect(utils.isObject(undefined)).eql(false);
39 expect(utils.isObject(function() {})).eql(false);
40 expect(utils.isObject(/\w*/)).eql(true);
[all …]
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/utils/
Dguard.js3 …sStringRecord = exports.isObjectArray = exports.isStringArray = exports.isObject = exports.isDefin…
8 function isObject(value) { function
11 exports.isObject = isObject;
17 return Array.isArray(value) && value.every(isObject);
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/3.2/generic_spread_expressions_in_object_literals/
Dgeneric_spread_expressions_in_object_literals_3.ts37 Assert.isObject(s1);
39 Assert.isObject(s2);
41 Assert.isObject(b1);
44 Assert.isObject(b2);
Dgeneric_spread_expressions_in_object_literals_1.ts32 Assert.isObject(func(f1, 'a'));
33 Assert.isObject(func(f2, 'b'));
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/this_key_word/
Dthis_key_word_1.ts32 Assert.isObject(this);
38 Assert.isObject(this);
48 Assert.isObject(c.func());
/third_party/typescript/tests/baselines/reference/
DnarrowFromAnyWithTypePredicate.types9 declare function isObject(x): x is Object;
10 >isObject : (x: any) => x is Object
53 if (isObject(x)) { // 'any' is not narrowed when target type is 'Object'
54 >isObject(x) : boolean
55 >isObject : (x: any) => x is Object
DnarrowFromAnyWithTypePredicate.symbols11 declare function isObject(x): x is Object;
12 >isObject : Symbol(isObject, Decl(narrowFromAnyWithTypePredicate.ts, 1, 46))
52 if (isObject(x)) { // 'any' is not narrowed when target type is 'Object'
53 >isObject : Symbol(isObject, Decl(narrowFromAnyWithTypePredicate.ts, 1, 46))
DnarrowFromAnyWithTypePredicate.js4 declare function isObject(x): x is Object;
17 if (isObject(x)) { // 'any' is not narrowed when target type is 'Object'
45 if (isObject(x)) { // 'any' is not narrowed when target type is 'Object'
DnarrowFromAnyWithTypePredicate.errors.txt11 declare function isObject(x): x is Object;
24 if (isObject(x)) { // 'any' is not narrowed when target type is 'Object'
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/3.0/new_unknown_top_type/
Dnew_unknown_top_type.ts45 Assert.isObject(t6);
49 Assert.isObject(t7);
89 Assert.isObject(t15);
91 Assert.isObject(t16);
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/the_any_type/
Dany_type_3.ts53 Assert.isObject(x);
54 Assert.isObject(fun(x));
70 Assert.isObject(c4.a);
/third_party/skia/src/ports/skia_ohos/
DHmSymbolConfig_ohos.cpp304 if (!root[i].isObject()) { in parseSymbolAnimations()
332 if (!root[i].isObject()) { in parseSymbolAnimationParas()
398 if (!root[i][j].isObject()) { in parseSymbolGroupParas()
434 if (!root[key].isObject()) { in parseSymbolPiecewisePara()
452 if (!root[key].isObject()) { in parseSymbolPiecewisePara()
507 if (!root[i].isObject()) { in parseSymbolLayersGrouping()
568 if (!root[i].isObject()) { in parseLayers()
601 if (!root[i].isObject()) { in parseRenderModes()
639 if (!root[i].isObject()) { in parseRenderGroups()
727 if (!root[i].isObject()) { in parseAnimationSettings()
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/relaxed_rules_between_optional_properties_and_string_index_signatures/
Drelaxed_rules.ts38 Assert.isObject(i);
41 Assert.isObject(obj);
/third_party/node/test/parallel/
Dtest-repl-require-context.js20 child.stdin.write('const isObject = (obj) => obj.constructor === Object;\n');
21 child.stdin.write('isObject({});\n');
Dtest-util.js76 assert.strictEqual(util.isObject({}), true);
77 assert.strictEqual(util.isObject([]), true);
78 assert.strictEqual(util.isObject(new Number(3)), true);
79 assert.strictEqual(util.isObject(Number(4)), false);
80 assert.strictEqual(util.isObject(1), false);
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/type_relationships/Type_and_Member_Identity/
DType_and_Member_Identity.ts46 Assert.isObject(a);
47 Assert.isObject(b);
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/3.2/generic_object_rest_variables_and_parameters/
Dgeneric_object_rest_variables_and_parameters.ts33 Assert.isObject(o1);
43 Assert.isObject(o2);
/third_party/typescript/tests/cases/conformance/types/any/
DnarrowFromAnyWithTypePredicate.ts3 declare function isObject(x): x is Object;
16 if (isObject(x)) { // 'any' is not narrowed when target type is 'Object'
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.0/expression_operators/
Dexpression_operators_2.ts37 Assert.isObject(z);
52 Assert.isObject(c);
/third_party/jsframework/runtime/main/reactivity/
Dwatcher.js6 isObject
131 ((isObject(value) || this.deep) && !this.shallow)
198 isO = isObject(val);
/third_party/node/deps/npm/node_modules/event-target-shim/dist/
Devent-target-shim.js516 function isObject(x) { function
557 if (typeof listener !== "function" && !isObject(listener)) {
690 if (typeof listener !== "function" && !isObject(listener)) {
695 const optionsIsObj = isObject(options);
746 const capture = isObject(options)
/third_party/node/test/fixtures/es-modules/
Dcjs-exports.mjs6 deepEqual(Object.keys(ns), ['?invalid', 'default', 'invalid identifier', 'isObject', 'package', 'z'…
8 strictEqual(typeof m.isObject, 'undefined');
/third_party/rust/crates/cxx/book/src/binding/
Dcxxstring.md48 fn isObject(self: &Json) -> bool;
98 bool isObject() const;
126 bool json::isObject() const { return std::holds_alternative<object>(value); }
/third_party/node/test/fixtures/
Dis-object.js2 module.exports.isObject = (obj) => obj.constructor === Object; function
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/specifying_types/intersection_type_literals/
Dintersection_type_literals.ts30 Assert.isObject(x);

1234