Appearance
Checks whether the provided value is an array.
array
value
unknown
boolean
true
false
isArray([1, 2]); // true isArray('hello'); // false