ComfyUI Node
Logical Switch
Select between two inputs based on the condition; only the needed branch is evaluated when lazy.
Logical Switch
- true_value
- false_value
- result
◄conditiontrue►
CategorySage Utils/util
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| condition | BOOLEAN | true | Choose which branch to return. |
| true_valueopt | * | Value returned when the condition is true. | |
| false_valueopt | * | Value returned when the condition is false. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result | * | The selected branch value returned by the logical switch. |