ifThenElse method

Expr ifThenElse(
  1. Expr condition,
  2. Expr thenCedarExpr,
  3. Expr elseCedarExpr
)

Implementation

Expr ifThenElse(
  Expr condition,
  Expr thenCedarExpr,
  Expr elseCedarExpr,
) {
  return ExprIfThenElse(
    cond: condition,
    then: thenCedarExpr,
    otherwise: elseCedarExpr,
  );
}