• Finds the distinct values in a sequence

    See from(sequence).distinct for examples.

    Type Parameters

    • T
    • TKey = T

    Parameters

    • input: Iterable<T>
    • OptionalkeySelector: (arg: T) => TKey

    Returns Iterable<T>