TypeCodeKey Type
A TypeKey tagged with the TsType case it identifies.
Union cases
| Union case |
Description
|
|
An array type (
|
|
A conditional type (
|
|
A single case of an enum.
|
Full Usage:
GlobalThis
|
The synthetic |
|
A
|
|
An indexed access type (
|
|
An intersection type (
|
|
A literal type (string, number, boolean, or bigint literal).
|
|
An optional type wrapper.
|
|
A type predicate (
|
|
A primitive type (
|
|
A
|
|
A substitution type used in conditional/distributive type checking.
|
|
A template literal type (
|
|
A tuple type (fixed, labeled, or variadic).
|
|
An anonymous type literal (
|
|
A type parameter binding (
|
|
A type query (
|
|
A reference to another type (named, with optional type arguments).
|
|
A union type (
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsArray
Returns: bool
|
|
Full Usage:
this.IsConditional
Returns: bool
|
|
Full Usage:
this.IsEnumCase
Returns: bool
|
|
Full Usage:
this.IsGlobalThis
Returns: bool
|
|
Full Usage:
this.IsIndex
Returns: bool
|
|
Full Usage:
this.IsIndexAccess
Returns: bool
|
|
Full Usage:
this.IsIntersection
Returns: bool
|
|
Full Usage:
this.IsLiteral
Returns: bool
|
|
Full Usage:
this.IsOptional
Returns: bool
|
|
Full Usage:
this.IsPredicate
Returns: bool
|
|
Full Usage:
this.IsPrimitive
Returns: bool
|
|
Full Usage:
this.IsReadOnly
Returns: bool
|
|
Full Usage:
this.IsSubstitution
Returns: bool
|
|
Full Usage:
this.IsTemplateLiteral
Returns: bool
|
|
Full Usage:
this.IsTuple
Returns: bool
|
|
Full Usage:
this.IsTypeLiteral
Returns: bool
|
|
Full Usage:
this.IsTypeParameter
Returns: bool
|
|
Full Usage:
this.IsTypeQuery
Returns: bool
|
|
Full Usage:
this.IsTypeReference
Returns: bool
|
|
Full Usage:
this.IsUnion
Returns: bool
|
|