/third_party/jsframework/test/ut/ |
D | utils.ts | 31 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/ |
D | guard.js | 3 …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/ |
D | generic_spread_expressions_in_object_literals_3.ts | 37 Assert.isObject(s1); 39 Assert.isObject(s2); 41 Assert.isObject(b1); 44 Assert.isObject(b2);
|
D | generic_spread_expressions_in_object_literals_1.ts | 32 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/ |
D | this_key_word_1.ts | 32 Assert.isObject(this); 38 Assert.isObject(this); 48 Assert.isObject(c.func());
|
/third_party/typescript/tests/baselines/reference/ |
D | narrowFromAnyWithTypePredicate.types | 9 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
|
D | narrowFromAnyWithTypePredicate.symbols | 11 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))
|
D | narrowFromAnyWithTypePredicate.js | 4 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'
|
D | narrowFromAnyWithTypePredicate.errors.txt | 11 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/ |
D | new_unknown_top_type.ts | 45 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/ |
D | any_type_3.ts | 53 Assert.isObject(x); 54 Assert.isObject(fun(x)); 70 Assert.isObject(c4.a);
|
/third_party/node/test/parallel/ |
D | test-util.js | 76 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);
|
D | test-repl-require-context.js | 20 child.stdin.write('const isObject = (obj) => obj.constructor === Object;\n'); 21 child.stdin.write('isObject({});\n');
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/relaxed_rules_between_optional_properties_and_string_index_signatures/ |
D | relaxed_rules.ts | 38 Assert.isObject(i); 41 Assert.isObject(obj);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/type_relationships/Type_and_Member_Identity/ |
D | Type_and_Member_Identity.ts | 46 Assert.isObject(a); 47 Assert.isObject(b);
|
/third_party/skia/src/ports/skia_ohos/ |
D | HmSymbolConfig_ohos.cpp | 350 if (!root[i].isObject()) { in ParseSymbolAnimations() 378 if (!root[i].isObject()) { in ParseSymbolAnimationParas() 468 if (!root[i][j].isObject()) { in ParseSymbolGroupParas() 525 if (!root[key].isObject()) { in ParseSymbolPiecewisePara() 536 if (!root[key].isObject()) { in ParseSymbolPiecewisePara() 602 if (!root[i].isObject()) { in ParseSymbolLayersGrouping() 708 if (!root[i].isObject()) { in ParseLayers() 746 if (!root[i].isObject()) { in ParseRenderModes() 780 if (!root[i].isObject()) { in ParseRenderGroups() 858 if (!root[i].isObject()) { in ParseAnimationSettings() [all …]
|
/third_party/typescript/tests/cases/conformance/types/any/ |
D | narrowFromAnyWithTypePredicate.ts | 3 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/3.2/generic_object_rest_variables_and_parameters/ |
D | generic_object_rest_variables_and_parameters.ts | 33 Assert.isObject(o1); 43 Assert.isObject(o2);
|
/third_party/jsframework/runtime/main/reactivity/ |
D | watcher.js | 6 isObject 131 ((isObject(value) || this.deep) && !this.shallow) 198 isO = isObject(val);
|
D | observer.js | 8 isObject, 107 if (!isObject(value)) {
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.0/expression_operators/ |
D | expression_operators_2.ts | 37 Assert.isObject(z); 52 Assert.isObject(c);
|
/third_party/node/test/fixtures/es-modules/ |
D | cjs-exports.mjs | 6 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/ |
D | cxxstring.md | 48 fn isObject(self: &Json) -> bool; 98 bool isObject() const; 126 bool json::isObject() const { return std::holds_alternative<object>(value); }
|
/third_party/node/lib/ |
D | util.js | 157 function isObject(arg) { function 380 isObject, property
|
/third_party/node/test/fixtures/ |
D | is-object.js | 2 module.exports.isObject = (obj) => obj.constructor === Object; function
|