UNPKG

428 BTypeScriptView Raw
1import type { compareFn, mapFn } from './_types';
2/**
3 * Finds first index of a subsequence.
4 * @param x an array
5 * @param y subsequence?
6 * @param fc compare function (a, b)
7 * @param fm map function (v, i, x)
8 */
9declare function searchSubsequence<T, U = T>(x: Iterable<T>, y: Iterable<T>, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): number;
10export default searchSubsequence;
11//# sourceMappingURL=searchSubsequence.d.ts.map
\No newline at end of file