Array source
Methods
-
isArray(value) → {boolean} <constructor> source
-
Returns whether the given value is an array, regardless of which context it comes from. The context may be another frame.
This is the proper idiomatic way to test whether an object is an array and replaces the less generally useful
instanceofcheck (which does not work across contexts) and the strangeness that thetypeofan array is"object".Parameters:
Name Type Description valueAny any value
Returns: boolean
whether the given value is an array
Generated from v0.14.14