This method is like _.isArrayLike except that it also checks if value is an object.
_.isArrayLike
value
The value to check.
Returns true if value is an array-like object, else false.
true
false
_.isArrayLikeObject([1, 2, 3]);// => true_.isArrayLikeObject(document.body.children);// => true_.isArrayLikeObject('abc');// => false_.isArrayLikeObject(_.noop);// => false Copy
_.isArrayLikeObject([1, 2, 3]);// => true_.isArrayLikeObject(document.body.children);// => true_.isArrayLikeObject('abc');// => false_.isArrayLikeObject(_.noop);// => false
_.isArrayLikeObject
This method is like
_.isArrayLike
except that it also checks ifvalue
is an object.