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

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

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

Parameters

sortFn: (a: T) => Ord
list: T[]

Parameters

sortFn: (a: T) => Ord

Returns

(list: T[]) => T[]

Parameters

sortFn: (a: any) => Ord

Returns

<T>(list: T[]) => T[]