openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
9 lines • 375 B
TypeScript
/**
* Insert into sorted array using binary search.
*
* @param array - An already sorted array.
* @param element - The element to be inserted.
* @param comparator - Comparator to determine the order for the elements.
*/
export declare function sortedInsert<T>(array: T[], element: T, comparator: (a: T, b: T) => number): void;
//# sourceMappingURL=sorted-array.d.ts.map