1.0.1 • Published 4 years ago

@bemoje/arr-is-empty v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@bemoje/arr-is-empty

Determine whether an array is empty

Version

Travis CI

Dependencies

Stats

Donate

Installation

npm install @bemoje/arr-is-empty
npm install --save @bemoje/arr-is-empty
npm install --save-dev @bemoje/arr-is-empty

Usage

import arrIsEmpty from '@bemoje/arr-is-empty'

arrIsEmpty([])
//=> true

arrIsEmpty([2])
//=> false

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

arrIsEmpty

Determine whether an array is empty

Parameters
  • arr Array The array to evaluate
Returns

boolean