UNPKG

@extra-array/reject-update

Version:

Discards values which pass a test.

12 lines (11 loc) 328 B
declare module "@extra-array/reject-update" { import type { testFn } from "./_types"; /** * Discards values which pass a test. * @param x an array (updated) * @param ft test function (v, i, x) * @returns x */ declare function reject$<T>(x: T[], ft: testFn<T>): T[]; export = reject$; //# sourceMappingURL=reject$.d.ts.map}