Isarray
Array#isArray for older browsers.
Install / Use
/learn @juliangruber/IsarrayREADME
isarray
Array#isArray for older browsers and deprecated Node.js versions.
Just use Array.isArray directly, unless you need to support those older versions.
Usage
var isArray = require('isarray');
console.log(isArray([])); // => true
console.log(isArray({})); // => false
API
Installation
With npm do
$ npm install isarray
Then bundle for the browser with browserify.
Sponsors
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!
Security contact information
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
