UNPKG

cspell-lib

Version:

A library of useful functions used across various cspell tools.

6 lines 290 B
/** * Search for an item in a sorted array. * The value returned is either the position of the item or where it should be inserted. */ export declare function binarySearch<T>(arr: Array<T>, item: T, leftOffset?: number, rightOffset?: number): number; //# sourceMappingURL=search.d.ts.map