is-not-empty
v0.1.0
Published
Check emptiness of some types
Downloads
69
Readme
is-not-empty
Simple module for checking object or array for emptiness
Installation
npm install is-not-empty --save
Usage
const isNotEmpty = require('is-not-empty');
isNotEmpty.object({}); // => false
isNotEmpty.array([]); // => false