plain-object-is-empty
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i plain-object-is-empty

Weekly Downloads

320

Version

2.0.0

License

none

Unpacked Size

3.66 kB

Total Files

10

Last publish

Collaborators

  • fabiospampinato