ComfyUI Node
IntBinaryOperationConditional
Applies a binary (two int inputs, one fallback input) integer operation only when condition is true; otherwise returns a, b, or fallback_value.
IntBinaryOperationConditional
- INT
◄conditionfalse►
◄fallback_mode▾►
◄fallback_value0►
◄op▾►
◄a0►
◄b0►
Categorymath/int
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| condition | BOOLEAN | false | — |
| fallback_mode | COMBO | 3 options: A, B, constant | |
| fallback_value | INT | 0 | — |
| op | COMBO | 16 options: Add, Sub, Mul, Div, Mod, Pow, +10 | |
| a | INT | 0 | — |
| b | INT | 0 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |