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
Mpi Compare
- a
- b
- result
◄operator==►
◄b_value0.00►
CategoryMpiNodes/Logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| a | * | — | |
| operator | COMBO | == | Choose the comparison operator |
| bopt | * | — | |
| b_valueopt | FLOAT | 0.00-1000000000–1000000000 | Compared 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)
| Name | Type | Description |
|---|---|---|
| result | BOOLEAN | — |