x-is-array

0.1.0 • Public • Published

x-is-array

Simple array test

Example

var isArray = require("x-is-array")
 
isArray([])
// -> true
 
isArray("hello")
// -> false
 
isArray("")
// -> false
 
isArray(9)
// -> false
 
isArray(true)
// -> false
 
isArray(new Date())
// -> false
 
isArray({
// -> false
 
isArray(null)
// -> false
 
isArray(undefined)
// -> false

Installation

npm install x-is-array

Contributors

  • Matt-Esch

MIT Licenced

Readme

Keywords

none

Package Sidebar

Install

npm i x-is-array

Weekly Downloads

70,350

Version

0.1.0

License

none

Last publish

Collaborators

  • mattesch