ComfyUI Node
String Switch
A ComfyUI node in JSON Dynamic/string with 5 inputs and 1 output.
String Switch
- on_true
- on_false
- result
◄conditiontrue►
◄default_true►
◄default_false►
CategoryJSON Dynamic/string
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| condition | BOOLEAN | true | — |
| on_trueopt | * | — | |
| on_falseopt | * | — | |
| default_trueopt | STRING | — | |
| default_falseopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result | * | — |