ComfyUI Node
Input Switch
A ComfyUI node in nifty/logic with 3 inputs and 1 output.
Input Switch
- on_true
- on_false
- output
◄boolean—►
Categorynifty/logic
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean | BOOLEAN | Determines which input is passed to the output. | |
| on_trueopt | COMFY_MATCHTYPE_V3 | Value passed through when boolean is True. Only evaluated if actually selected (lazy). | |
| on_falseopt | COMFY_MATCHTYPE_V3 | Value passed through when boolean is False. Only evaluated if actually selected (lazy). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | COMFY_MATCHTYPE_V3 | — |