UNPKG

lgrthms

Version:

Algorithms and data structures for your JavaScript and TypeScript projects 🧑‍💻

2 lines (1 loc) 95 B
export declare function insertionSort<T>(array: T[], compareFn?: (a: T, b: T) => number): T[];