@extra-array/find-right.min
Version:
Finds last value passing a test.
13 lines (10 loc) • 309 B
TypeScript
declare module "@extra-array/find-right.min" {
import type { testFn } from "./_types";
/**
* Finds last value passing a test.
* @param x an array
* @param ft test function (v, i, x)
*/
declare function findRight<T>(x: T[], ft: testFn<T>): T;
export = findRight;
//# sourceMappingURL=findRight.d.ts.map}