isArrayLikeObject

Lang
since 4.0.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is an array-like object, else `false`.

This method is like _.isArrayLike except that it also checks if value is an object.

Example of Lodash _.isArrayLikeObject

_.isArrayLikeObject([1, 2, 3]);
// => true

_.isArrayLikeObject(document.body.children);
// => true

_.isArrayLikeObject('abc');
// => false

_.isArrayLikeObject(_.noop);
// => false