zeed
Preparing search index...
union
Function union
union
<
T
extends
Type
<
any
>
[]
>
(
options
:
T
)
:
Type
<
TypeUnion
<
T
>
>
Creates a union type validator (like
string | number | boolean
)
Type Parameters
T
extends
Type
<
any
>
[]
Parameters
options
:
T
Returns
Type
<
TypeUnion
<
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
zeed
Loading...
Creates a union type validator (like
string | number | boolean)