@extra-array/search-infix-all
Version:
Finds indices of an infix.
13 lines (12 loc) • 457 B
TypeScript
declare module "@extra-array/search-infix-all" {
import type { compareFn, mapFn } from "./_types";
/**
* Finds indices of an infix.
* @param x an array
* @param y search infix
* @param fc compare function (a, b)
* @param fm map function (v, i, x)
*/
declare function searchInfixAll<T, U = T>(x: Iterable<T>, y: Iterable<T>, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): number[];
export = searchInfixAll;
//# sourceMappingURL=searchInfixAll.d.ts.map}