1 | declare module "@extra-array/search-value-right" {
|
2 | import type { compareFn, mapFn } from "./_types";
|
3 | /**
|
4 | * Finds last index of a value.
|
5 | * @param x an array
|
6 | * @param v search value
|
7 | * @param fc compare function (a, b)
|
8 | * @param fm map function (v, i, x)
|
9 | * @returns index of value, -1 if not found
|
10 | */
|
11 | declare function searchValueRight<T, U = T>(x: T[], v: T, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): number;
|
12 | export = searchValueRight;
|
13 | //# sourceMappingURL=searchValueRight.d.ts.map}
|