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).

See also: Elementary Functions