Hierarchy

  • Cond

Properties

Properties

$cond: {
    else: any;
    if: any;
    then: any;
} | [BooleanExpression, any, any]

A ternary operator that evaluates one expression, and depending on the result, returns the value of one of the other two expressions. Accepts either three expressions in an ordered list or three named parameters.

Type declaration

  • else: any
  • if: any
  • then: any

Generated using TypeDoc