@extra-array/drop-while-right
Version:
Discards values from right, while a test passes.
11 lines (10 loc) • 342 B
TypeScript
declare module "@extra-array/drop-while-right" {
import type { testFn } from "./_types";
/**
* Discards values from right, while a test passes.
* @param x an array
* @param ft test function (v, i, x)
*/
declare function dropWhileRight<T>(x: T[], ft: testFn<T>): T[];
export = dropWhileRight;
//# sourceMappingURL=dropWhileRight.d.ts.map}