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

x/rambda/files/index.d.ts>maxBy

Faster and smaller alternative to Ramda
Go to Latest
function maxBy
import { maxBy } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

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