plain-object-is-empty
v2.0.0
Published
Extremely fast function that checks if a plain object is empty.
Downloads
703
Maintainers
Readme
Plain Object Is Empty
Extremely fast function that checks if a plain object is empty.
Install
npm install --save plain-object-is-empty
Usage
import isEmpty from 'plain-object-is-empty';
isEmpty ({}); // => true
isEmpty ({ foo: true }); // => false
License
MIT © Fabio Spampinato