Module

x/lodash_es/src/math.js>mean

lodash for deno use
Latest
function mean
import { mean } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/math.js";

Computes the mean of the values in array.

Examples

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

Parameters

array

The array to iterate over.