Class: OrTypeInfo
types.or type info.
Extends
Constructors
Constructor
new OrTypeInfo(
thisType,
orTypes,
dispatcher
): OrTypeInfo;
Parameters
| Parameter | Type |
|---|---|
thisType | AnyStandardType |
orTypes | readonly AnyStandardType[] |
dispatcher | ((sn) => AnyType) | undefined |
Returns
OrTypeInfo
Overrides
Properties
dispatcher
readonly dispatcher: ((sn) => AnyType) | undefined;
kind
readonly kind: "or" = "or";
Overrides
orTypes
readonly orTypes: readonly AnyStandardType[];
thisType
readonly thisType: AnyStandardType;
Inherited from
Accessors
orTypeInfos
Get Signature
get orTypeInfos(): readonly TypeInfo[];
Returns
readonly TypeInfo[]