Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "util/If"

Index

Type aliases

Type aliases

If

If: { 1: Then; 0: Else; }[Cond]

Type-level equivalent of ternary operator a ? b : c. Seems good for recursion, but a type can't reference itself in the top layer.

Generated using TypeDoc