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