is-object-present

Will return true if the object is present (not empty), otherwise false.


Keywords
Javascript, object
License
ISC
Install
npm install is-object-present@1.0.1

Documentation

Will return a Boolean value indicating if the object is present or not.

Installing the package: npm i is-object-present

**Import: ** import isObjectPresent from "is-object-present"

isObjectPresent function will return boolean value isObjectPresent({}) //false isObjectPresent({"key":"value"}) //true