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
Go to Latest
function sortBy
import { sortBy } from "https://deno.land/x/rambda@v8.6.0/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[]