Nonvoluntary Professional Mangling
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Keywords

none

Install

npm i x-is-array

DownloadsWeekly Downloads

34,061

Version

0.1.0

License

none

Last publish

Collaborators

  • avatar