Package Exports
- @bemoje/arr-is-empty
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bemoje/arr-is-empty) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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