| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |
if condition trueResult [falseResult]
Returns one of two possible values, depending on the boolean value of the first argument.
trueResult if condition
evaluates to true, otherwise the evaluation of falseResult
if it exists, or the null object if it is not specified.
if function could be
defined in terms of the cond function like this:
define if ( aCondition truObj falseObj ) {
cond $aCondition $trueObj $falseObj
}
| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |