Array.isArray()
Widely available
The Array.isArray()
static method checks whether a value is an array.
To learn more, see
Array.isArray() at MDN.
Compatibility
- Chrome 4 Released on 2010-01-25
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 4 Released on 2011-03-22
- Firefox for Android 4 Released on 2011-03-29
- Safari 5 Released on 2010-06-07
- Safari on iOS 5 Released on 2011-10-12
Specifications
- ECMAScript Language Specification (#sec-array.isarray), from TC39 (Ecma International).