Type Utils
Preparing search index...
V3
AsPrimitiveStruct
Type Alias AsPrimitiveStruct<T, Rules>
AsPrimitiveStruct
:
IsExactExtension
<
PrimitiveType
,
T
>
extends
true
?
V3
.
PrimitiveStruct
<
Rules
>
:
IsExactExtension
<
T
,
undefined
>
extends
true
?
V3
.
UndefinedStruct
<
Rules
>
:
IsExactExtension
<
T
,
null
>
extends
true
?
V3
.
NullStruct
<
Rules
>
:
IsExactExtension
<
T
,
boolean
>
extends
true
?
V3
.
BooleanStruct
<
Rules
>
:
IsExactExtension
<
T
,
bigint
>
extends
true
?
V3
.
BigIntStruct
<
Rules
>
:
IsExactExtension
<
T
,
number
>
extends
true
?
V3
.
NumberStruct
<
Rules
>
:
IsExactExtension
<
T
,
string
>
extends
true
?
V3
.
StringStruct
<
Rules
>
:
IsExactExtension
<
T
,
symbol
>
extends
true
?
V3
.
SymbolStruct
<
Rules
>
:
never
Type Parameters
T
extends
PrimitiveType
Rules
extends
Custom
<
any
[]
,
string
,
PrimitiveType
>
=
Custom
<
any
[]
,
string
,
PrimitiveType
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Type Utils
Loading...