is-empty-array
Check if an array is empty.
Installation
npm install is-empty-array
Usage
var isEmptyArray = require('is-empty-array')
isEmptyArray([]) // => true
isEmptyArray([1]) // => false
isEmptyArray({}) // => false
Check if an array is empty.
npm install is-empty-array
var isEmptyArray = require('is-empty-array')
isEmptyArray([]) // => true
isEmptyArray([1]) // => false
isEmptyArray({}) // => false