If
Alias:If
, ValueIf
Output:T
Executes a statement if a condition is true.
Parameter | Type | Required | Position | Default Value | Summary |
---|---|---|---|---|---|
Condition | bool | ✔ | 1 | Whether to follow the Then Branch | |
Then | T | ✔ | 2 | The Consequent. Returned if the condition is true. | |
Else | T | 3 | The default value | The Alternative. Returned if the condition is false. |