MCPcopy
hub / github.com/vercel/hyper / isArrayLike

Function isArrayLike

bin/yarn-standalone.js:19053–19055  ·  view source on GitHub ↗

* Checks if `value` is array-like. A value is considered array-like if it's * not a function and has a `value.length` that's an integer greater than or * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. * * @static * @memberOf _ * @since 4.0.0 * @c

(value)

Source from the content-addressed store, hash-verified

19051 * // => false
19052 */
19053 function isArrayLike(value) {
19054 return value != null && isLength(value.length) && !isFunction(value);
19055 }
19056
19057 /**
19058 * This method is like `_.isArrayLike` except that it also checks if `value`

Callers 12

baseMapFunction · 0.85
createBaseEachFunction · 0.85
createFindFunction · 0.85
isIterateeCallFunction · 0.85
includesFunction · 0.85
yarn-standalone.jsFile · 0.85
sizeFunction · 0.85
isArrayLikeObjectFunction · 0.85
isEmptyFunction · 0.85
toArrayFunction · 0.85
keysFunction · 0.85
keysInFunction · 0.85

Calls 2

isLengthFunction · 0.85
isFunctionFunction · 0.85

Tested by

no test coverage detected