Package Exports
- is-object-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 (is-object-empty) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-object-empty
Check to see if an object is empty (has no keys)
install
npm install is-object-emptyusage
var isObjectEmpty = require('is-object-empty');
var obj = {};
if (isObjectEmpty(obj)) {
console.log('yup, it is empty');
}
else {
console.log('nope, it is not empty');
}license
MIT