- sort<T>(): Curried2<(x: T, y: T) => number, T[], T[]>
Returns Curried2<(x: T, y: T) => number, T[], T[]>
- sort<T>(fn: (x: T, y: T) => number): Curried1<T[], T[]>
Parameters
- fn: (x: T, y: T) => number
- sort<T>(fn: (x: T, y: T) => number, arr: T[]): T[]
Parameters
- fn: (x: T, y: T) => number
- arr: T[]
Returns T[]
Curried
_sort