Current section

Files

Jump to
spellweaver priv bun node_modules cspell-lib dist lib util search.d.ts
Raw

priv/bun/node_modules/cspell-lib/dist/lib/util/search.d.ts

/**
* 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