ComfyUI Node
Gate (process if)
Runs the processed branch only when the expression is true, otherwise passes source through, or blocks everything downstream if source is not connected. Both branches are lazy, so the untaken one never executes. The expression can name the widgets of the node feeding processed, and any value connected to a, b, ...
Gate (process if)
- processed
- source
- values
- result
◄expressiona != 1.0►
CategoryMAINodes/Flow
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| expression | STRING | a != 1.0 | — |
| processed | COMFY_MATCHTYPE_V3 | — | |
| sourceopt | COMFY_MATCHTYPE_V3 | passed through when the expression is false; leave it unconnected to block everything downstream instead | |
| valuesopt | COMFY_AUTOGROW_V3 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result | COMFY_MATCHTYPE_V3 | — |