Lodash.countBy

Creates an object composed of keys generated from the results of running each element of collection thru 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).

struct Lodash
nothrow @trusted @safe ref
countBy
(
T = Any
)
(
auto ref T iteratee = T.init
)

Return Value

Type: auto ref

- Lodash chained on (Object): the composed aggregate object.

Meta