1.5.0 • Published 4 years ago

check-is-empty-object v1.5.0

Weekly downloads
9
License
Apache-2.0
Repository
github
Last release
4 years ago

Node.js CI Build Status Issue Status Build Status

Check whether it is empty object

Installation

'npm install check-is-empty-object'

Usage

var isEmptyObj = require("check-is-empty-object");

// return true
isEmptyObj({});

// return false
isEmptyObj({city: "Sydney"});

// return false
isEmptyObj([]);

// return false
isEmptyObj("string");

Tests

'npm test'
1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago