# IIf()

Evaluates a Boolean conditional dynamic expression. Depending
on whether the expression is true or false, dynamically
evaluates one of two string expressions and returns the result.

```
IIf( condition=boolean, string_expression1=string, string_expression2=string );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| condition | boolean | Yes | An expression that can be evaluated as a Boolean. |  |
| string_expression1 | string | Yes | Expression to evaluate and return if condition is true. *Alias: expression1* |  |
| string_expression2 | string | Yes | Expression to evaluate and return if condition is false. *Alias: expression2* |  |

# Examples

*There are currently no examples for this function.*





