removeDuplicatedBy method

Iterable<T> removeDuplicatedBy(
  1. IterableFunction<T, U> fn
)

Remove duplicated values from an iterable given a predicate without modifying the original iterable.

Implementation

Iterable<T> removeDuplicatedBy(IterableFunction<T, U> fn) =>
    _removeDuplicatedBy(this, fn);