Files
NapCatQQ/.pnpm-store/v3/files/c7/e765a83cee865eee7877aa28075a21cbac11efa613f2dbe120367d80c0c35cf2d7536a8cbc683e466da3b800c746eeeab98b7ef75e0aca35dbab1dda08f090
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
420 B
Plaintext

import baseMean from './_baseMean.js';
import identity from './identity.js';
/**
* Computes the mean of the values in `array`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Math
* @param {Array} array The array to iterate over.
* @returns {number} Returns the mean.
* @example
*
* _.mean([4, 2, 8, 6]);
* // => 5
*/
function mean(array) {
return baseMean(array, identity);
}
export default mean;