Skip to main content

core.typename

Home > @medplum/core > TypeName

TypeName type

Signature:

export type TypeName<T> = T extends string ? 'string' : T extends number ? 'number' : T extends boolean ? 'boolean' : T extends undefined ? 'undefined' : 'object';