is-array-x

2.1.2 • Public • Published

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

is-array-x

Determines whether the passed value is an Array.

module.exportsboolean

The isArray() function determines whether the passed value is an Array.

Kind: Exported member
Returns: boolean - true if the object is an Array; otherwise, false.

Param Type Description
obj * The object to be checked..

Example

import isArray from 'is-array-x';
 
console.log(isArray([])); // true
console.log(isArray({})); // false

Package Sidebar

Install

npm i is-array-x

Weekly Downloads

264

Version

2.1.2

License

MIT

Unpacked Size

98 kB

Total Files

11

Last publish

Collaborators

  • xotic750