jqb-isarray

0.1.2 • Public • Published

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

/jqb-isarray/

    Package Sidebar

    Install

    npm i jqb-isarray

    Weekly Downloads

    1

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • marcopeg