Description
Results in the Then value when the If condition is true; otherwise, results in the Else value.
Snippet
If-Then-Else(True, 0, 0);Properties
Returns: Object | Array Parameters: ==If==, ==Then==, ==Else==
==If== Type: Boolean, Default: True If this condition evaluates to true, the result of the value is then; otherwise, the result is else.
==Then== Type: Object | Array, Default: Number The result of the value when the if condition evaluates to true.
==Else== Type: Object | Array, Default: Number The result of the value when the if condition evaluates to false.