can.isArray
Check if an object is an array.
can.isArray(obj)
Parameters
-
obj
{*}
The object to check.
Returns
{Boolean}
Whether obj is an Array.
Check if an object is an array.
{*}
The object to check.
{Boolean}
Whether obj is an Array.
can.isArray(object)
returns if the object is an explicitly an Array. Ifcan.isArray
is passed an array-like object, it will returnfalse
.