Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a logical ternary operator. Sequentially performs the following logic: Expands to TIfTrue if TCond extends true. Expands to TElse if TCond extends false. Expands to TIfCondIsBool if TCond extends boolean.

Type parameters

  • TCond: BoolOp

    Boolean type that controlls which branch to choose.

  • TIfTrue: BoolOp

    True branch operator.

  • TElse: BoolOp

    False branch operator.

  • TCond: boolean

    Boolean type that controlls which branch to expand to.

  • TIfTrue

    Defined type if TCond extends true branch.

  • TElse

    Defined type if TCond extends false branch.

  • TIfCondIsBool

    Defined type if TCond extends booleanbranch.

Hierarchy

  • If
  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.