isarray
Array#isArray for older browsers
Last updated 5 months ago by juliangruber .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install isarray 
SYNC missed versions from official npm registry.

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!

Current Tags

  • 2.0.5                                ...           latest (5 months ago)

9 Versions

  • 2.0.5                                ...           5 months ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.1                                ...           7 years ago
  • 0.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 3,636
This Week 218,183
This Month 235,157
Last Day 55,513
Last Week 304,258
Last Month 1,272,964
Dependencies (0)
None
Dev Dependencies (1)
Dependents (444)

Copyright 2014 - 2016 © taobao.org |