UNPKG

@extra-array/cut-right

Version:

Breaks array after test passes.

11 lines (10 loc) 302 B
declare module "@extra-array/cut-right" { import type { testFn } from "./_types"; /** * Breaks array after test passes. * @param x an array * @param ft test function (v, i, x) */ declare function cutRight<T>(x: T[], ft: testFn<T>): T[][]; export = cutRight; //# sourceMappingURL=cutRight.d.ts.map}