hoshimi
Preparing search index...
If
Type Alias If<T, A, B>
If
:
T
extends
true
?
A
:
B
extends
null
?
A
|
null
:
B
Conditional type to check if T is true, then A, else B or A | null.
Type Parameters
T
extends
boolean
A
B
=
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
hoshimi
Loading...
Conditional type to check if T is true, then A, else B or A | null.