Nodes/ComfyUI-YogurtNodes/ListBinaryOps (Yogurt Nodes)
ComfyUI Node

ListBinaryOps (Yogurt Nodes)

Perform union, intersection, difference, zip and related operations on two lists.

By yogurt7771·Created 2 years ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
operationCOMBOunionBinary 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.
concatoptSTRINGConnector inserted between paired elements for concat variants.
keyoptSTRINGDictionary key used by merge_with_key.
start_indexoptINT0-2147483648–2147483647Start index used by splice and swap_ranges.
end_indexoptINT-1-2147483648–2147483647Exclusive end index for splice. Use -1 to insert only.
other_start_indexoptINT0-2147483648–2147483647Start index in list_b for swap_ranges.
range_lengthoptINT-1-1–2147483647Range length for swap_ranges. -1 auto-matches shared space.
sort_reverseoptBOOLEANfalseReverse sorting for union_sorted.

Outputs (2)

NameTypeDescription
result*
countINT