MCPcopy Index your code
hub / github.com/frank-lam/fullstack-tutorial / isArraylike

Function isArraylike

notes/docsify/unpkg/gotop/jquery-2.1.0.js:538–552  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

536});
537
538function isArraylike( obj ) {
539 var length = obj.length,
540 type = jQuery.type( obj );
541
542 if ( type === "function" || jQuery.isWindow( obj ) ) {
543 return false;
544 }
545
546 if ( obj.nodeType === 1 && length ) {
547 return true;
548 }
549
550 return type === "array" || length === 0 ||
551 typeof length === "number" && length > 0 && ( length - 1 ) in obj;
552}
553var Sizzle =
554/*!
555 * Sizzle CSS Selector Engine v1.10.16

Callers 1

jquery-2.1.0.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…