Union
Type
constructor
is
Dot
Dot
Dot
is
Question
kind
types
convert
to
Constructor
to
String
Hierarchy
UnionType
Implements
Type
Index
Constructors
constructor
Properties
is
Dot
Dot
Dot
is
Question
kind
types
Methods
convert
to
Constructor
to
String
Constructors
constructor
new
Union
Type
(
types
:
Type
[]
, isDotDotDot
?:
boolean
, isQuestion
?:
boolean
)
:
UnionType
Parameters
types:
Type
[]
Default value
isDotDotDot:
boolean
= false
Default value
isQuestion:
boolean
= false
Returns
UnionType
Properties
is
Dot
Dot
Dot
is
Dot
Dot
Dot
:
boolean
is
Question
is
Question
:
boolean
kind
kind
:
string
= "union"
types
types
:
Type
[]
Methods
convert
convert
(
argument
:
any
)
:
any
Parameters
argument:
any
Returns
any
to
Constructor
to
Constructor
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string