Module

x/lodash_es/mod.ts>mean

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

Computes the mean of the values in array.

Examples

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

Parameters

array

The array to iterate over.