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

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.