ComfyUI Node

_.union

Computes the union of the passed-in arrays: the list of unique items, in order, that are present in one or more of the arrays.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.union
  • py_list
  • arrays
  • LIST
Categoryovum/underscore

Inputs (2)

NameTypeDefaultDescription
py_listopt*Primary input object (expected array). You can still pass any JSON-serializable value. Also accepts _.CHAIN to continue chaining.
arraysopt*arrays: JSON allowed for arrays/objects where applicable. For multiple values, provide a JSON array (e.g., [1,2,3]).

Outputs (1)

NameTypeDescription
LISTLIST