Returns true
if value
is array-like, else false
.
_.isArrayLike([1, 2, 3]);
// => true
_.isArrayLike(document.body.children);
// => true
_.isArrayLike('abc');
// => true
_.isArrayLike(_.noop);
// => false
_.isArrayLike
_.isArrayLike
Generated using TypeDoc
Checks if
value
is array-like. A value is considered array-like if it's not a function and has avalue.length
that's an integer greater than or equal to0
and less than or equal toNumber.MAX_SAFE_INTEGER
.