ComfyUI Node

Number Compare

A ComfyUI node in nifty/logic with 4 inputs and 1 output.

By Stibo·Created 5 months ago·Updated 2 months ago· 7
Number Compare
  • a
  • b
  • BOOLEAN
comparison
negatefalse
Categorynifty/logic

Inputs (4)

NameTypeDefaultDescription
aINT,FLOATLeft-hand operand.
bINT,FLOATRight-hand operand.
comparisonCOMBOComparison operator to apply. 'a <= b <= c' checks if b is within the range [a, c].
negateBOOLEANfalseInvert the result — True becomes False and vice versa.

Outputs (1)

NameTypeDescription
BOOLEANBOOLEAN