This method is similar to isArrayLike, with the only difference of checking whether value is also an object.
isArrayLike
value
1.0.0
isArrayLikeObject([1, 2, 3]);// => true Copy
isArrayLikeObject([1, 2, 3]);// => true
isArrayLikeObject(document.body.children);// => true Copy
isArrayLikeObject(document.body.children);// => true
isArrayLikeObject("abc");// => false Copy
isArrayLikeObject("abc");// => false
isArrayLikeObject(() => 0);// => false Copy
isArrayLikeObject(() => 0);// => false
This method is similar to
isArrayLike
, with the only difference of checking whethervalue
is also an object.