UNPKG

375 BTypeScriptView Raw
1import type { compareFn, mapFn } from './_types';
2/**
3 * Arranges values in an order.
4 * @param x an array (updated)
5 * @param fc compare function (a, b)
6 * @param fm map function (v, i, x)
7 * @returns x
8 */
9declare function bubbleSort$<T, U = T>(x: T[], fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): T[];
10export default bubbleSort$;
11//# sourceMappingURL=bubbleSort$.d.ts.map
\No newline at end of file