Excerpt | ||
---|---|---|
| ||
switch(\[condition1, result1\],\[condition2, result2\],...,\[conditionN, resultN\],defaultResult) Evaluates a set of conditions in turn, and returns the associated result for the first match. |
Function: switch()
Evaluates a set of conditions in turn, and returns the associated result for the first match.
...