Type Alias IfElse<Cond, Then, Else>

IfElse: IfExtends<Cond, false, Else, Then>

If Cond is true, return Then, otherwise return Else

Type Parameters

  • Cond extends boolean
  • Then
  • Else