Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/mod.ts>Reducer.average

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
variable Reducer.average
import { Reducer } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";
const { average } = Reducer;

A Reducer that calculates the average of all given numberic input values.