Skip to main content

Class: OrTypeInfo

types.or type info.

Extends​

Constructors​

Constructor​

new OrTypeInfo(
thisType,
orTypes,
dispatcher
): OrTypeInfo;

Parameters​

ParameterType
thisTypeAnyStandardType
orTypesreadonly AnyStandardType[]
dispatcher((sn) => AnyType) | undefined

Returns​

OrTypeInfo

Overrides​

TypeInfo.constructor

Properties​

dispatcher​

readonly dispatcher: ((sn) => AnyType) | undefined;

kind​

readonly kind: "or" = "or";

Overrides​

TypeInfo.kind


orTypes​

readonly orTypes: readonly AnyStandardType[];

thisType​

readonly thisType: AnyStandardType;

Inherited from​

TypeInfo.thisType

Accessors​

orTypeInfos​

Get Signature​

get orTypeInfos(): readonly TypeInfo[];
Returns​

readonly TypeInfo[]