IterableDistinctBy<E> extension

on

Methods

distinctBy<R>(R selector(E element)) Iterable<E>
Returns a new lazy Iterable containing only elements from the collection having distinct keys returned by the given selector function.