@ungap/is-array
Version:
An is-array polyfill for legacy browsers.
14 lines (8 loc) • 896 B
Markdown
# Array.isArray
[](https://travis-ci.com/ungap/is-array) [](https://coveralls.io/github/ungap/is-array?branch=master) [](https://greenkeeper.io/) 
An [Array.isArray](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray) polyfill for legacy browsers.
* CDN via https://unpkg.com/@ungap/is-array
* ESM via `import isArray from '@ungap/is-array'`
* CJS via `const isArray = require('@ungap/is-array')`
Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too).
[Live test](https://ungap.github.io/is-array/test/)