JSMicro - Is Empty
isEmpty(object)
Check does the given Javascript Object (array, object, string, etc) is empty.
isNotEmpty(object)
Check does the given Javascript Empty (array, object, string, etc) is not empty.
Browser Usage
bower install --save jsmicro-is-empty
NodeJS Usage
npm install --save jsmicro-is-empty
const obj = ; // Available in the global object.; // true; // false; // true // Also available in the export object.obj; // trueobj; // falseobj; // true
Changelogs
v1.0.1 - May 21, 2016
- Added .npmignore
v1.0.0 - May 21, 2016
- Initial release.