ReadonlycategoryReadonlynameOptional ReadonlytypeStatic ReadonlyANONYMOUS_An anonymous or arrow function.
Static ReadonlyARRAYStatic ReadonlyBIGINTStatic ReadonlyBOOLEANStatic ReadonlyNULLStatic ReadonlyNUMBERStatic ReadonlySTRINGStatic ReadonlySYMBOLStatic ReadonlyUNDEFINEDIndicates 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
StaticgetReturns the type of an undefined, null, boolean, number, bigint, string or symbol
value.
a value
null if the value is not a primitive value
StaticnamedReturns the type of a named class.
the name of the class, or null to represent any class.
OptionaltypeGuard: (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
StaticnamedReturns the type of a named function.
(optional) the name of the function. name represents any named function.
the type
StaticofReturns the type of a value.
a value
the value's type
Describes the type of a value.