Lodash.keyBy

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 last element responsible for generating the key. The iteratee is invoked with one argument: (value).

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

Return Value

Type: auto ref

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

Meta