Check if given input is an instance of Array.
input
Array
isArray([]); // trueisArray({ length: 42 }); // false
true if the given value is an array, false otherwise.
true
false
Check if given
input
is an instance ofArray
.Example
Returns
true
if the given value is an array,false
otherwise.