Array#isArray for older browsers
npm install myisarrayArray#isArray for older browsers and deprecated Node.js versions.
[![github actions][actions-image]][actions-url]



__Just use Array.isArray directly__, unless you need to support those older versions.
``js
var isArray = require('isarray');
console.log(isArray([])); // => true
console.log(isArray({})); // => false
`
With npm do
`bash``
$ npm install isarray
Then bundle for the browser with
browserify.
This module is proudly supported by my Sponsors!
Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my Patreon. Not sure how much of my modules you're using? Try feross/thanks!
To report a security vulnerability, please use the
Tidelift security contact.
Tidelift will coordinate the fix and disclosure.
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/juliangruber/isarray
[actions-url]: https://github.com/juliangruber/isarray/actions