iif

Overview ColdFusion Open BlueDragon Lucee

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.

Attributes

Name Required Type Default Description
condition Yes Boolean
expression1 Yes String
expression2 Yes String
string_expression1 No
string_expression2 No