Visitar URL original
GitHub - fabiospampinato/plain-object-is-empty: Extremely fast function that checks if a plain object is empty. · GitHub
Skip to content

About

Extremely fast function that checks if a plain object is empty.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Plain Object Is Empty

Extremely fast function that checks if a plain object is empty.

Install

npm install plain-object-is-empty

Usage

import isEmpty from 'plain-object-is-empty';

// Let's check if an object is empty

isEmpty ({}); // => true
isEmpty ({ foo: true }); // => false

License

MIT © Fabio Spampinato

About

Extremely fast function that checks if a plain object is empty.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages