augment-vir - v31.32.2
Preparing search index...
ReplaceUndefinedValuesWithNull
Type Alias ReplaceUndefinedValuesWithNull<ObjectGeneric>
ReplaceUndefinedValuesWithNull
:
{
[
Key
in
RequiredKeysOf
<
Extract
<
ObjectGeneric
,
object
>
>
]
:
undefined
extends
ObjectGeneric
[
Key
]
?
Exclude
<
ObjectGeneric
[
Key
]
,
undefined
>
|
null
:
ObjectGeneric
[
Key
]
}
&
{
[
Key
in
OptionalKeysOf
<
Extract
<
ObjectGeneric
,
object
>
>
]
?:
undefined
extends
Required
<
ObjectGeneric
,
>
[
Key
]
?
Exclude
<
ObjectGeneric
[
Key
]
,
undefined
>
|
null
:
ObjectGeneric
[
Key
]
}
Converts any
undefined
values into
null
.
Type Parameters
ObjectGeneric
Package
@augment-vir/common
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
augment-vir - v31.32.2
Loading...
Converts any
undefined
values intonull
.