Type Alias $InvertSelection<Branch>

$InvertSelection<Branch>: Branch extends $Then
    ? $Else
    : $Then

🧰 type util

Invert the selection branch.

i.e.

  • $Then -> $Else
  • $Else -> $Then

Type Parameters