Returns true if the object has no own enumerable keys.
true
The object to check.
isEmptyObject({}) // => trueisEmptyObject({ a: 1 }) // => false Copy
isEmptyObject({}) // => trueisEmptyObject({ a: 1 }) // => false
Returns
trueif the object has no own enumerable keys.