Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

isarray

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Issues
File Explorer

Advanced tools

isarray

Array#isArray for older browsers

    2.0.5latest

Version published
Maintainers
1
Weekly downloads
70,658,992
increased by0.93%

Weekly downloads

Changelog

Source

2.0.5

  • update CI Node.js versions and operating systems
  • create LICENSE file

Readme

Source

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!

Keywords

FAQs

What is isarray?

Array#isArray for older browsers

Is isarray popular?

The npm package isarray receives a total of 57,604,526 weekly downloads. As such, isarray popularity was classified as popular.

Is isarray well maintained?

We found that isarray demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 08 Jul 2019
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc