MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / isArrayLike

Function isArrayLike

docs/_static/jquery-3.6.0.js:507–522  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

505 } );
506
507function isArrayLike( obj ) {
508
509 // Support: real iOS 8.2 only (not reproducible in simulator)
510 // `in` check used to prevent JIT error (gh-2145)
511 // hasOwn isn't used here due to false negatives
512 // regarding Nodelist length in IE
513 var length = !!obj && "length" in obj && obj.length,
514 type = toType( obj );
515
516 if ( isFunction( obj ) || isWindow( obj ) ) {
517 return false;
518 }
519
520 return type === "array" || length === 0 ||
521 typeof length === "number" && length > 0 && ( length - 1 ) in obj;
522}
523var Sizzle =
524/*!
525 * Sizzle CSS Selector Engine v2.3.6

Callers 14

jquery-3.6.0.jsFile · 0.85
flatten$1Function · 0.85
findFunction · 0.85
eachFunction · 0.85
mapFunction · 0.85
reducerFunction · 0.85
everyFunction · 0.85
someFunction · 0.85
containsFunction · 0.85
maxFunction · 0.85
minFunction · 0.85
sampleFunction · 0.85

Calls 3

toTypeFunction · 0.85
isFunctionFunction · 0.85
isWindowFunction · 0.85

Tested by

no test coverage detected