1.0.5 • Published 10 years ago

is-arr v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

is-arr Build Status npm

Check if a value is an array Polyfill

Install

$ npm install --save is-arr

Usage

async

const isArr = require('is-arr');

isArr(['albums']).then(val => {
    console.log(val);
});
//=> true

sync

const isArr = require('is-arr');

isArr.sync({"albums": "untitled"});
//=> false

API

isArr(input)

Returns a promise value of an input

isArr.sync(input)

Returns a boolean value of an input

input

Type: any

License

MIT © Guntur Poetra

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.0

10 years ago