1.0.5 • Published 7 years ago

is-arr v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.0

8 years ago