is-object-present
v1.0.1
Published
Will return true if the object is present (not empty), otherwise false.
Downloads
2
Readme
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