An open API service indexing awesome lists of open source software.

https://github.com/fabiospampinato/plain-object-is-empty

Extremely fast function that checks if a plain object is empty.
https://github.com/fabiospampinato/plain-object-is-empty

empty fast object plain

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Plain Object Is Empty

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

## Install

```sh
npm install --save plain-object-is-empty
```

## Usage

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

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

## License

MIT © Fabio Spampinato