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.
- Host: GitHub
- URL: https://github.com/afeiship/next-is-empty
- Owner: afeiship
- License: mit
- Created: 2019-02-15T12:46:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T02:30:46.000Z (over 5 years ago)
- Last Synced: 2025-03-12T22:38:20.488Z (over 1 year ago)
- Topics: array, is-empty, lodash, map, next, object, string
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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