_.isArray(value)

sourcenpm package

Checks if value is classified as an Array object.

Since

0.1.0

Arguments

  • value (*): The value to check.

Returns

(boolean): Returns true if value is an array, else false.

Example

  1. _.isArray([1, 2, 3]);
    // => true
    _.isArray(document.body.children);
    // => false
    _.isArray('abc');
    // => false
    _.isArray(_.noop);
    // => false