Neverending Programming Mistakes
Introducing npm Teams! Private packages + team management tools.Learn more »

is-empty-object

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

Keywords

Install

npm i is-empty-object

DownloadsWeekly Downloads

625

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar