Skip to content

Type Alias: IsEmptyObject<T>

Signature

ts
export type IsEmptyObject<T> = T extends { [emptyObjectSymbol]?: never } ? true : false

Type Parameters

Name
T

Released under the MIT License.