UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

4 lines (2 loc) 109 B
declare function ranking<T = any>(arr: T[], compFn: (a: T, b: T) => boolean): number[]; export { ranking };