isarray (2.0.5)

Published 2026-02-24 13:58:47 +00:00 by atheaadmin

Installation

registry=
npm install isarray@2.0.5
"isarray": "2.0.5"

About this package

isarray

Array#isArray for older browsers and deprecated Node.js versions.

build status downloads

browser support

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

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!

Dependencies

Development Dependencies

ID Version
tape ~2.13.4

Keywords

browser isarray array
Details
npm
2026-02-24 13:58:47 +00:00
0
Julian Gruber
MIT
latest
1.8 KiB
Assets (1)
Versions (3) View all
1.0.0 2026-02-24
2.0.5 2026-02-24
0.0.1 2026-02-24