isarray
Array#isArray for older browsers
Last updated 3 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 (3 months ago)

9 Versions

  • 2.0.5                                ...           3 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                                ...           6 years ago
  • 0.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 1,699
This Week 240,970
This Month 593,602
Last Day 43,572
Last Week 272,344
Last Month 1,132,367
Dependencies (0)
None
Dev Dependencies (1)
Dependents (433)

Copyright 2014 - 2016 © taobao.org |