Alias for Array.isArray()
.
Returns true
if the given object
is an Array
. Otherwise, returns false
.
const util = require('util');
util.isArray([]);
// Returns: true
util.isArray(new Array());
// Returns: true
util.isArray({});
// Returns: false
Since v4.0.0 - Use isArray
instead.
Generated using TypeDoc
Alias for
Array.isArray()
.Returns
true
if the givenobject
is anArray
. Otherwise, returnsfalse
.Deprecated
Since v4.0.0 - Use
isArray
instead.