ComfyUI Node
Text Input Switch JK๐
Switch between two text inputs based on boolean condition
Text Input Switch JK๐
- string_output
- boolean
โboolean_valuefalseโบ
โtext_falseโบ
โtext_trueโบ
Category๐ JK/๐ Switch
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean_value | BOOLEAN | false | Condition to select between inputs (True=text_true, False=text_false) |
| text_false | STRING | Text value to return when condition is False | |
| text_trueopt | STRING | Text value to return when condition is True (optional) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| string_output | STRING | โ |
| boolean | BOOLEAN | โ |