iif

Overview

Returns arg1 if the given condition is true; otherwise, arg2.

any iif(condition, arg1, arg2)

Arguments

any condition

Condition to be evaluated.

any arg1

Expression to return if the condition is to true.

any arg2

Expression to return if the condition is false.

Return Value

Given arg1 or arg2 parameter.

Remarks


Examples

iif(a = 1, b, c)


See Also


Copyright © 2010 - 2023 Emakin. All rights reserved.