isEmptyPlainObject
isEmptyPlainObject(
value
):value is Record<string, never>
Determines if a value is a plain object with no own enumerable properties.
Parameters
Section titled “Parameters”unknown
The value to inspect.
Returns
Section titled “Returns”value is Record<string, never>
true
if value
is an object literal or Object.create(null)
and has no keys, otherwise false
.