Readonly
categoryReadonly
nameOptional
Readonly
typeStatic
Readonly
ANONYMOUS_An anonymous or arrow function.
Static
Readonly
ARRAYStatic
Readonly
BIGINTStatic
Readonly
BOOLEANStatic
Readonly
NULLStatic
Readonly
NUMBERStatic
Readonly
STRINGStatic
Readonly
SYMBOLStatic
Readonly
UNDEFINEDIndicates if this type is equal to another type.
another type
true if this type matches other
true
if the type is an undefined
, null
, boolean
, number
, bigint
, string
or
symbol
value
Indicates whether this type is a subtype of another type. Note that types are considered subtypes of themselves.
the parent type
the string representation of this object
Static
getReturns the type of an undefined
, null
, boolean
, number
, bigint
, string
or symbol
value.
a value
null
if the value is not a primitive value
Static
namedReturns the type of a named class.
the name of the class, or null
to represent any class.
Optional
typeGuard: (value: unknown) => boolean(optional) for certain types, such as Typescript interfaces, runtime validation is not possible. In such a case, use a type guard to check if the value satisfies the type condition.
the type
Static
namedReturns the type of a named function.
(optional) the name of the function. name
represents any named function.
the type
Static
ofReturns the type of a value.
a value
the value's type
Describes the type of a value.