ComfyUI Node
Number Compare
A ComfyUI node in nifty/logic with 4 inputs and 1 output.
Number Compare
- a
- b
- BOOLEAN
◄comparison▾►
◄negatefalse►
Categorynifty/logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| a | INT,FLOAT | Left-hand operand. | |
| b | INT,FLOAT | Right-hand operand. | |
| comparison | COMBO | Comparison operator to apply. 'a <= b <= c' checks if b is within the range [a, c]. | |
| negate | BOOLEAN | false | Invert the result — True becomes False and vice versa. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BOOLEAN | BOOLEAN | — |