📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jqb-isarray

define if a given input is an array

0.1.2
latest
Version published
Maintainers
1
Created

jqb-isarray

Minimal utility method to detect if given value is an Array:

var isArray = require('jqb-isarray');
isArray([1, 2, 3]);     // true
isArray({a:1,b:2,c:3}); // false

The implementation is heavily inspired to UnderscoreJS:
http://underscorejs.org/#isArray

Run Tests

If you want to run tests on this module you can prompt:

npm install && grunt

FAQs

Package last updated on 31 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts