If(cond:Bool, yes:Expr, [no:Expr]):Any

Conditional evaluation. If the condition cond evaluates to true, evaluates yes and returns its value. Otherwise, if the condition is false or EMPTY, evaluates no and returns its value (and if no is not specified, just returns EMPTY).

Since: PCC 0.98.5, PCC2 1.99.8

See also: Elementary Functions