1234567891011121314151617181920 |
- var baseSum = require('./_baseSum');
-
-
- var NAN = 0 / 0;
-
-
- function baseMean(array, iteratee) {
- var length = array == null ? 0 : array.length;
- return length ? (baseSum(array, iteratee) / length) : NAN;
- }
-
- module.exports = baseMean;
|