UNPKG

@extra-array/find-indices

Version:

Finds indices of values passing a test.

9 lines 286 B
import type { testFn } from './_types'; /** * Finds indices of values passing a test. * @param x an array * @param ft test function (v, i, x) */ declare function findIndices<T>(x: Iterable<T>, ft: testFn<T>): number[]; export default findIndices; //# sourceMappingURL=index.d.ts.map