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