4.17.11
3.10.1
2.4.2
1.3.1

_.mean(array)

Computes the mean of the values in array.

Since

4.0.0

Arguments

argument
array
type
Array
description
The array to iterate over.

Returns

(array)

Example

_.mean([4, 2, 8, 6]);
// => 5
_.mean([4, 2, 8, 6]);
// => 5