If function
if (condition, expr1, expr2)
parameters
- condition:
Boolean condition to be evaluated.
- expr1:
Expression to be returned if the condition evaluates to true.
- expr2:
Expression to be returned if the condition evaluates to false.
Examples
if ("/GCL[0]" >= "/GCL[1]", "/GCL[0]", "/GCL[1]")