ComfyUI Node

Mpi Compare

General logic operator for comparing values. Compares a against the b input, or against the b_value widget when b is not connected

By MadPonyInteractive·Created 10 months ago·Updated 4 days ago· 2
Mpi Compare
  • a
  • b
  • result
operator==
b_value0.00
CategoryMpiNodes/Logic

Inputs (4)

NameTypeDefaultDescription
a*
operatorCOMBO==Choose the comparison operator
bopt*
b_valueoptFLOAT0.00-1000000000–1000000000Compared against when b is not connected. Converted to the type of a: for a boolean 0 is false and anything else true, for an int it is truncated. To compare against text, connect the b input instead.

Outputs (1)

NameTypeDescription
resultBOOLEAN