object-shape-tester - v6.9.2
Preparing search index...
IsNullable
Type Alias IsNullable<T>
IsNullable
:
IsAny
<
T
>
extends
true
?
true
:
null
extends
Extract
<
T
,
null
>
?
true
:
undefined
extends
Extract
<
T
,
undefined
>
?
true
:
false
Checks if a type is possibly
undefined
or
null
.
any
is included.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
object-shape-tester - v6.9.2
Loading...
Checks if a type is possibly
undefined
ornull
.any
is included.