ComfyUI Node
Text Switch
Passes the text if active is true, otherwise passes an empty string.
Text Switch
- str
◄str—►
◄activetrue►
CategorySage Utils/text/helper
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| str | STRING | Text to conditionally pass through. | |
| active | BOOLEAN | true | If true, passes the text through; otherwise returns an empty string. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| str | STRING | Output value for str_out. |