ComfyUI Node
ListBinaryOps (Yogurt Nodes)
Perform union, intersection, difference, zip and related operations on two lists.
ListBinaryOps (Yogurt Nodes)
- list_a
- list_b
- fill_value
- result
- count
◄operationunion►
◄concat►
◄key►
◄start_index0►
◄end_index-1►
◄other_start_index0►
◄range_length-1►
◄sort_reversefalse►
CategoryYogurtNodes/Logic
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| operation | COMBO | union | Binary operation to apply to the two inputs. |
| list_a | * | First list-like input. | |
| list_b | * | Second list-like input. | |
| fill_valueopt | * | Padding value for zip_longest variants and interleave. | |
| concatopt | STRING | Connector inserted between paired elements for concat variants. | |
| keyopt | STRING | Dictionary key used by merge_with_key. | |
| start_indexopt | INT | 0-2147483648–2147483647 | Start index used by splice and swap_ranges. |
| end_indexopt | INT | -1-2147483648–2147483647 | Exclusive end index for splice. Use -1 to insert only. |
| other_start_indexopt | INT | 0-2147483648–2147483647 | Start index in list_b for swap_ranges. |
| range_lengthopt | INT | -1-1–2147483647 | Range length for swap_ranges. -1 auto-matches shared space. |
| sort_reverseopt | BOOLEAN | false | Reverse sorting for union_sorted. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| result | * | — |
| count | INT | — |