1 | import type { compareFn, mapFn } from './_types';
|
2 | /**
|
3 | * Checks if array has 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 | */
|
9 | declare function isSubsequence<T, U = T>(x: Iterable<T>, y: Iterable<T>, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): boolean;
|
10 | export default isSubsequence;
|
11 | //# sourceMappingURL=index.d.ts.map |
\ | No newline at end of file |