Determines if an object is an array or at least array-like.

This function is valid in v2.13.0 to v2.18.1. This function has been downloaded 27 times.


{*} o
A value to test and see if it array-like.


A boolean indicating if the object was an array or array-like.

Required Function

This function directly requires the following function which is included automatically:

  • typeOf()
    Either gets the type of a value or adds a constructor registering its custom type name.

Requiring Functions

This function is directly required by the following functions:

  • forOf()
    Traverses all the characters in a string or all of the items in an array or an object, executing a function on each one.
  • isEmpty()
    Determines if an array, arguments list, other type of list or collection is empty. Also can be used on objects to ensure that it doesn't have any properties explicitly set.
  • isFalsy()
    Basically used to determine if something is falsy or is an empty collection of sorts.
  • splice()
    Duplicates an array or a string and adds and/or removes one or more values from it. NOTE: This is different from the traditional splice function because it doesn't modify the array, but rather it returns a modified duplicate.
  • spread()
    Calls a function while flattening first-level array-like arguments so as the spread those individual values and use them as individual arguments.
  • toArray()
    Turns anything into an array.