ComfyUI Node
Switch String
A ComfyUI node in ✨ LF Nodes/Logic with 4 inputs and 2 outputs.
Switch String
- ui_widget
- string
- string_list
◄on_true—►
◄on_false—►
◄booleanfalse►
Category✨ LF Nodes/Logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| on_true | STRING | Value to return if the boolean condition is true. | |
| on_false | STRING | Value to return if the boolean condition is false. | |
| boolean | BOOLEAN | false | Boolean condition to switch between 'on_true' and 'on_false' values. |
| ui_widgetopt | KUL_PROGRESSBAR | [object Object] | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |
| string_list | STRING | — |