IIF
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.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The condition to evaluate | |
|
|
| The expression to evaluate if the condition is true | |
|
|
| The expression to evaluate if the condition is false |
Examples
Related
Last updated