• This function is like _.uniq except that it accepts iteratee which is invoked for each element in array to generate the criterion by which uniqueness is computed. The order of result values is determined by the order they occur in the array.

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 16,671 bytes
    • Micro-dash: 122 bytes

    Type Parameters

    • T

    Parameters

    • array: readonly T[]
    • iteratee: ValueIteratee<T, any>

    Returns T[]