_.mean(array)
Computes the mean of the values in array.
Since
4.0.0
Arguments
-
array(Array): The array to iterate over.
Returns
(number): Returns the mean.
Example
_.mean([4, 2, 8, 6]); // => 5
_.mean(array)
Computes the mean of the values in array.
4.0.0
array (Array): The array to iterate over.(number): Returns the mean.
_.mean([4, 2, 8, 6]); // => 5
Please login to continue.