basant307/AI_Governance_Project
045
1var baseMean = require('./_baseMean'),2 identity = require('./identity');3 4/**5 * Computes the mean of the values in `array`.6 *7 * @static8 * @memberOf _9 * @since 4.0.010 * @category Math11 * @param {Array} array The array to iterate over.12 * @returns {number} Returns the mean.13 * @example14 *15 * _.mean([4, 2, 8, 6]);16 * // => 517 */18function mean(array) {19 return baseMean(array, identity);20}21 22module.exports = mean;23 