Either - Function SummarySummary:If condition is TRUE, evaluates the first block, else evaluates the second. Usage:either condition true-block false-block Arguments:condition - The condition argument. true-block - The true-block argument. (must be: block) false-block - The false-block argument. (must be: block) Description:Evaluate either one block or the other depending on a condition. EITHER is identical to the if-else style comparison in other languages.
The EITHER function also returns the result of the block that it evaluates.
Related:if - If condition is TRUE, evaluates the block.
| ||||
|