Skip to content

iter::unionBy

unionBy(first, second) => a

ParameterTypeDescription
firstIterableThe first Iterable
secondIterableThe second Iterable

Returns

(Generator) A new list with the items from the given Iterables combined, excluding duplicates. The closure selects the key of each item.