If constructor

If(
  1. Object cond,
  2. Object true_expr,
  3. Object false_expr
)

Implementation

If(this.cond, this.true_expr, this.false_expr);