JSPM

@bemoje/arr-is-empty

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q21030F
  • License MIT

Determine whether an array is empty

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

NPM version

Travis CI

dependencies

Dependencies

dependencies

Stats

NPM downloads Forks

Buy Me A Beer donate button PayPal donate button

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