A conditional expression can evaluate to either True or False based on the evaluation of the condition. If the condition is true then the value following the operator is taken that’s why it is called immediate if.
Syntax:
result = IIf(condition, expression_if_true, expression_if_false)