Skip to content

iter::union

union(first, second)

ParameterTypeDescription
firstIterableThe first Iterable
secondIterableThe second Iterable

Returns

(Generator) A generator for the items from the given Iterables combined, excluding duplicates.