Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rambda/index.d.ts>minBy

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

It returns the lesser value between x and y according to compareFn function.

Parameters

compareFn: (input: T) => Ord
x: T
y: T

Parameters

compareFn: (input: T) => Ord
x: T

Returns

(y: T) => T

Parameters

compareFn: (input: T) => Ord

Returns

(x: T) => (y: T) => T