ComfyUI Node
Switch String
Returns if_true when condition is True, otherwise returns if_false. Works with strings.
Switch String
- STRING
◄conditionfalse►
◄if_true►
◄if_false►
CategorySimpleLogics/Switch
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| condition | BOOLEAN | false | — |
| if_true | STRING | — | |
| if_false | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |