Skip to content

iter::distinctBy

distinctBy(items) => a

ParameterTypeDescription
itemsIterable

Returns

(Generator) A list of the distinct items in the given Iterable where the closure determines the keys.