Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

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

Code Block
languagejs
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.

...