Checks if a value is ArrayLike, i.e. has a length property.
value
length
isArrayLike([]) => trueisArrayLike("") => trueisArrayLike({ length: 0 }) => trueisArrayLike(() => {}) => true
true if value is an ArrayLike, otherwise false
true
false
the Array element type
the value to check
Generated using TypeDoc
Checks if a
valueis ArrayLike, i.e. has alengthproperty.Example
Returns
trueifvalueis an ArrayLike, otherwisefalse