Lodash.meanBy

This method is like _.mean except that it accepts iteratee which is invoked for each element in array to generate the value to be averaged. The iteratee is invoked with one argument: (value).

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

Return Value

Type: auto ref

- Lodash chained on (number): the mean.

Meta