Skip to main content
Version: v0.19.0-alpha 🚧

If

Alias:If, ValueIf

Output:T

Executes a statement if a condition is true.

ParameterTypeRequiredPositionDefault ValueSummary
Conditionbool✔1Whether to follow the Then Branch
ThenT✔2The Consequent. Returned if the condition is true.
ElseT3The default valueThe Alternative. Returned if the condition is false.