• Creates an object composed of keys generated from the results of running each element of collection through iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The iteratee is invoked with one argument: (value).

    Type Parameters

    • T


    • collection: undefined | null | List<T>

      The collection to iterate over.

    • Optional iteratee: ValueIteratee<T>

      The function invoked per iteration.

    Returns Dictionary<number>

    Returns the composed aggregate object.

  • Type Parameters

    • T extends object


    • collection: undefined | null | T
    • Optional iteratee: ValueIteratee<T[keyof T]>

    Returns Dictionary<number>



Generated using TypeDoc