Skip to content

isEmptyPlainObject

isEmptyPlainObject(value): value is Record<string, never>

Determines if a value is a plain object with no own enumerable properties.

unknown

The value to inspect.

value is Record<string, never>

true if value is an object literal or Object.create(null) and has no keys, otherwise false.