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

x/rambda/immutable.d.ts>median

Faster and smaller alternative to Ramda
Latest
function median
import { median } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts";

It returns the median value of list input.

Parameters

list: readonly number[]

Returns

number