Skip to main content
Version: v0.17.0

If

Alias:If, ValueIf

Output:T

Executes a statement if a condition is true.

ParameterTypeRequiredPositionDefault ValueSummary
Conditionbool1Whether to follow the Then Branch
ThenT2The Consequent. Returned if the condition is true.
ElseT3The default valueThe Alternative. Returned if the condition is false.