The collection to iterate over.
Optional
iteratee: ValueIterateeCustom<T, PropertyName>The function invoked per iteration.
Returns the composed aggregate object.
_.keyBy
Optional
iteratee: ValueIterateeCustom<T[keyof T], PropertyName>Generated using TypeDoc
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 last element responsible for generating the key. The iteratee function is invoked with one argument: (value).