dist/type.js
/**
 * @internal
 * @description
 * Determines whether an object can be iterated over like an array.
 * https://github.com/jquery/jquery/blob/a5037cb9e3851b171b49f6d717fb40e59aa344c2/src/core.js#L501
 * @param {*} obj
 * @return {Boolean}
 */
@internal
@description
Determines whether an object can be iterated over like an array.
@internal @description Determines whether an object can be iterated over like an array .
function isArrayLike( obj )
{
    var length = obj.length,
        type = typeOf( obj );
    if ( typeOf( obj ) === "window" )
        return false;
    if ( obj.nodeType === 1 && length )
        return true;
    return (
        type === "array" ||
        type !== "function" && (
            length === 0 ||
            typeof length === "number" && length > 0 && ( length - 1 ) in obj
        )
    );
}
function isArrayLike ( obj ) { var length = obj . length , type = typeOf ( obj ) ; if ( typeOf ( obj ) === "window" ) return false ; if ( obj . nodeType === 1 && length ) return true ; return ( type === "array" || type !== "function" && ( length === 0 || typeof length === "number" && length > 0 && ( length - 1 ) in obj ) ) ; }
@internal
 @description
 Determines whether an object can be iterated over like an array.
@internal @description Determines whether an object can be iterated over like an array .