Array.isArray()
Widely available since 2018-01-29
The Array.isArray()
static method checks whether a value is an array.
Learning resources on MDN
Browser support
- 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).