Type alias $FlipSelection<$Options>

$FlipSelection<$Options>: {
    $else: $Options["$then"];
    $then: $Options["$else"];
} & Omit<$Options, "$then" | "$else">

🧰 type util

Flip the selection options.

Type Parameters

Type declaration

  • $else: $Options["$then"]
  • $then: $Options["$else"]

Example

type IsBoolean<T, $Options = $SelectionOptions> = ...

type IsNotBoolean<T, $Options = $SelectionOptions> = IsBoolean<T, $FlipSelection<$Options>>

Generated using TypeDoc