An open API service indexing awesome lists of open source software.

https://github.com/afeiship/next-is-empty

Check whether a value is empty.
https://github.com/afeiship/next-is-empty

array is-empty lodash map next object string

Last synced: 3 months ago
JSON representation

Check whether a value is empty.

Awesome Lists containing this project

README

          

# next-is-empty
> Check whether a value is empty.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-is-empty
```

## usage
```js
import '@jswork/next-is-empty';

nx.isEmpty({}) // true
nx.isEmpty('') // true
nx.isEmpty(true) // false
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-is-empty/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-is-empty
[version-url]: https://npmjs.org/package/@jswork/next-is-empty

[license-image]: https://img.shields.io/npm/l/@jswork/next-is-empty
[license-url]: https://github.com/afeiship/next-is-empty/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-is-empty
[size-url]: https://github.com/afeiship/next-is-empty/blob/master/dist/next-is-empty.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-is-empty
[download-url]: https://www.npmjs.com/package/@jswork/next-is-empty