Skip to main content
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@v9.1.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[]