IIF
Last updated
Last updated
A boolean condition or value is passed into the first argument.
If the condition is true the second argument is evaluated and returned, if false the third argument is evaluated and returned.
Argument | Type | Required | Description | Default |
---|---|---|---|---|
condition
boolean
true
The condition to evaluate
expression1
string
true
The expression to evaluate if the condition is true
expression2
string
true
The expression to evaluate if the condition is false