Skip to content
On this page

isEmptyObject

Identifies if a value is an empty object.

Type Definitions

ts
/**
 * @param val - The value.
 * @returns If the value is an empty object.
 */
export declare function isEmptyObject(val: unknown): val is Record<string, never>
1
2
3
4
5