UNPKG

302 BTypeScriptView Raw
1declare module "@extra-array/count" {
2import type { testFn } from "./_types";
3/**
4 * Counts values which satisfy a test.
5 * @param x an array
6 * @param ft test function (v, i, x)
7 */
8declare function count<T>(x: Iterable<T>, ft: testFn<T>): number;
9export = count;
10//# sourceMappingURL=count.d.ts.map}