/third_party/jerryscript/tests/jerry/es2015/ |
D | array-isarray.js | 15 assert(Array.isArray([]) === true); 16 assert(Array.isArray([1]) === true); 17 assert(Array.isArray(new Array()) === true); 18 assert(Array.isArray(new Array('a', 'b', 'c', 'd')) === true); 19 assert(Array.isArray(new Array(3)) === true); 20 assert(Array.isArray(Array.prototype) === true); 21 assert(Array.isArray(new Proxy([], {})) === true); 23 assert(Array.isArray() === false); 24 assert(Array.isArray({}) === false); 25 assert(Array.isArray(null) === false); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | isArray.symbols | 1 === tests/cases/compiler/isArray.ts === 3 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3)) 6 if (Array.isArray(maybeArray)) { 7 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 9 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 10 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3)) 14 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3)) 20 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3))
|
D | malformedTags.symbols | 7 var isArray = Array.isArray; 8 >isArray : Symbol(isArray, Decl(myFile02.js, 5, 3)) 9 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 11 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
D | spreadBooleanRespectsFreshness.types | 18 foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]]; 19 >foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]] : FooBase[] 21 >[...Array.isArray(foo2) ? foo2 : [foo2]] : FooBase[] 22 >...Array.isArray(foo2) ? foo2 : [foo2] : FooBase 23 >Array.isArray(foo2) ? foo2 : [foo2] : FooArray 24 >Array.isArray(foo2) : boolean 25 >Array.isArray : (arg: any) => arg is any[] 27 >isArray : (arg: any) => arg is any[]
|
D | malformedTags.types | 7 var isArray = Array.isArray; 8 >isArray : Function 9 >Array.isArray : (arg: any) => arg is any[] 11 >isArray : (arg: any) => arg is any[]
|
D | malformedTags.js | 7 var isArray = Array.isArray; variable 16 var isArray = Array.isArray;
|
D | isArray.types | 1 === tests/cases/compiler/isArray.ts === 6 if (Array.isArray(maybeArray)) { 7 >Array.isArray(maybeArray) : boolean 8 >Array.isArray : (arg: any) => arg is any[] 10 >isArray : (arg: any) => arg is any[]
|
D | genericRecursiveImplicitConstructorErrors3.types | 62 if (this.isArray()) { 63 >this.isArray() : any 64 >this.isArray : any 66 >isArray : any 70 >this._elementType ? (this._elementType.isArray() || this._elementType.isNamedTypeSy… 75 (this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ? 76 >(this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ? this._eleme… 77 >this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ? this._elemen… 78 >this._elementType.isArray() || this._elementType.isNamedTypeSymbol() : any 79 >this._elementType.isArray() : any [all …]
|
D | literalFreshnessPropagationOnNarrowing.types | 65 let a4: ElementOrArray = Array.isArray(elOrA) ? elOrA : [elOrA]; 67 >Array.isArray(elOrA) ? elOrA : [elOrA] : (string | false)[] 68 >Array.isArray(elOrA) : boolean 69 >Array.isArray : (arg: any) => arg is any[] 71 >isArray : (arg: any) => arg is any[] 80 let a5: ElementOrArray = [...Array.isArray(elOrA) ? elOrA : [elOrA]]; 82 >[...Array.isArray(elOrA) ? elOrA : [elOrA]] : (string | false)[] 83 >...Array.isArray(elOrA) ? elOrA : [elOrA] : string | false 84 >Array.isArray(elOrA) ? elOrA : [elOrA] : (string | false)[] 85 >Array.isArray(elOrA) : boolean [all …]
|
D | noIterationTypeErrorsInCFA.types | 10 if (!Array.isArray(dds)) { 11 >!Array.isArray(dds) : boolean 12 >Array.isArray(dds) : boolean 13 >Array.isArray : (arg: any) => arg is any[] 15 >isArray : (arg: any) => arg is any[]
|
D | spreadBooleanRespectsFreshness.symbols | 22 foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]]; 24 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 26 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
D | literalFreshnessPropagationOnNarrowing.symbols | 61 let a4: ElementOrArray = Array.isArray(elOrA) ? elOrA : [elOrA]; 64 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 66 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 74 let a5: ElementOrArray = [...Array.isArray(elOrA) ? elOrA : [elOrA]]; 77 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 79 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
D | noIterationTypeErrorsInCFA.symbols | 14 if (!Array.isArray(dds)) { 15 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 17 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
/third_party/node/deps/npm/node_modules/isarray/ |
D | test.js | 1 var isArray = require('./'); variable 5 t.ok(isArray([])); 6 t.notOk(isArray({})); 7 t.notOk(isArray(null)); 8 t.notOk(isArray(false)); 12 t.notOk(isArray(obj)); 16 t.ok(isArray(arr));
|
/third_party/node/deps/npm/node_modules/core-util-is/lib/ |
D | util.js | 25 function isArray(arg) { function 26 if (Array.isArray) { 27 return Array.isArray(arg); 31 exports.isArray = isArray;
|
/third_party/node/deps/npm/node_modules/extend/ |
D | index.js | 8 var isArray = function isArray(arr) { function 9 if (typeof Array.isArray === 'function') { 10 return Array.isArray(arr); 95 if (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) { 98 clone = src && isArray(src) ? src : [];
|
/third_party/node/test/parallel/ |
D | test-util.js | 31 assert.strictEqual(util.isArray([]), true); 32 assert.strictEqual(util.isArray(Array()), true); 33 assert.strictEqual(util.isArray(new Array()), true); 34 assert.strictEqual(util.isArray(new Array(5)), true); 35 assert.strictEqual(util.isArray(new Array('with', 'some', 'entries')), true); 36 assert.strictEqual(util.isArray(context('Array')()), true); 37 assert.strictEqual(util.isArray({}), false); 38 assert.strictEqual(util.isArray({ push: function() {} }), false); 39 assert.strictEqual(util.isArray(/regexp/), false); 40 assert.strictEqual(util.isArray(new Error()), false); [all …]
|
D | test-event-emitter-listeners-side-effects.js | 33 assert(Array.isArray(fl)); 41 assert(Array.isArray(fl)); 50 assert(Array.isArray(e._events.foo)); 55 assert(Array.isArray(fl));
|
/third_party/node/deps/npm/node_modules/nopt/lib/ |
D | nopt.js | 61 , isArray = Array.isArray(val) 63 if (!isArray) val = [val] 66 if (!Array.isArray(type)) type = [type] 122 else if (isArray) { 123 debug(isArray, data[k], val) 189 if (Array.isArray(type)) { 292 var isTypeArray = Array.isArray(argType) 298 var isArray = argType === Array || 303 if (!Array.isArray(data[arg])) 305 isArray = true [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Uniform.cpp | 65 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 75 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 129 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock() 136 : name(nameIn), mappedName(mappedNameIn), isArray(isArrayIn), arrayElement(arrayElementIn) in InterfaceBlock() 145 if (isArray) in nameWithArrayIndex() 157 if (isArray) in mappedNameWithArrayIndex()
|
/third_party/node/deps/npm/node_modules/es6-promise/lib/es6-promise/ |
D | utils.js | 15 if (Array.isArray) { 16 _isArray = Array.isArray; 21 export const isArray = _isArray; constant
|
/third_party/skia/experimental/docs/ |
D | interpolatorFunctions.js | 18 assert(isArray(path)); 59 assert(isArray(paths)); 62 assert(isArray(curves0)); 64 assert(isArray(curves1)); 74 assert(isArray(curve0)); 75 assert(isArray(curve1));
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Uniform.cpp | 65 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 75 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 131 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock() 141 isArray(isArrayIn), in InterfaceBlock() 152 if (isArray) in nameWithArrayIndex() 164 if (isArray) in mappedNameWithArrayIndex()
|
/third_party/flutter/skia/experimental/docs/ |
D | interpolatorFunctions.js | 18 assert(isArray(path)); 59 assert(isArray(paths)); 62 assert(isArray(curves0)); 64 assert(isArray(curves1)); 74 assert(isArray(curve0)); 75 assert(isArray(curve1));
|
/third_party/node/deps/npm/node_modules/concat-map/ |
D | index.js | 5 if (isArray(x)) res.push.apply(res, x); 11 var isArray = Array.isArray || function (xs) { variable
|