UNPKG

@extra-array/reject

Version:

Discards values which pass a test.

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