Syntax
If(cond, then, [else])
Parameters
| Parameter | Type | Details |
|---|---|---|
cond | boolean | required |
then | any value | required |
else | any value | optional |
Returns
any value
Example
If($amount > 1000, Notify("Large quote"))IfRuns only the chosen branch and returns its value.