is-empty-object
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-empty-object package

1.1.1 • Public • Published

is-empty-object

NPM version License Build status

Check if an object is empty.

Installation

npm install is-empty-object

Usage

var isEmptyObject = require('is-empty-object')
 
isEmptyObject({})         // => true
isEmptyObject({ one: 1 }) // => false
isEmptyObject([])         // => false

Readme

Keywords

Package Sidebar

Install

npm i is-empty-object

Weekly Downloads

7,793

Version

1.1.1

License

MIT

Last publish

Collaborators

  • gummesson