JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25949F
  • License MIT

Check if a value is an array `Polyfill`

Package Exports

  • is-arr

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-arr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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