Checks if the input is an array.
检查输入是否为数组。
The type of elements in the array / 数组元素的类型
The value to check. 要检查的值
True if the value is an array, false otherwise. 如果值为数组则返回 true,否则返回 false
isArray([1, 2, 3]) // => trueisArray('foo') // => false Copy
isArray([1, 2, 3]) // => trueisArray('foo') // => false
Checks if the input is an array.
检查输入是否为数组。