Skip to content

iter::union

union(first, second)

ParameterTypeDescription
firstIterableThe first Iterable
secondIterableThe second Iterable

Returns

(Generator) A new list with the items from the given Iterables combined, excluding duplicates.