ComfyUI Node
Swap any Two values in a comparison
A ComfyUI node in PrzewodoUtils with 5 inputs and 2 outputs.
Swap any Two values in a comparison
- value_a
- value_b
- input_a
- input_b
- input_a
- input_b
◄comparisona == b►
CategoryPrzewodoUtils
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| value_a | * | First value for comparison operation. Used as left operand in the comparison | |
| value_b | * | Second value for comparison operation. Used as right operand in the comparison | |
| comparison | COMBO | a == b | Comparison operation to evaluate between value_a and value_b. If true, inputs are swapped |
| input_aopt | * | First input value to swap. Will be returned as 'input_b' if comparison is true, otherwise as 'input_a' | |
| input_bopt | * | Second input value to swap. Will be returned as 'input_a' if comparison is true, otherwise as 'input_b' |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| input_a | * | — |
| input_b | * | — |