UNPKG

@extra-array/some

Version:

Checks if any value satisfies a test.

11 lines (10 loc) 294 B
declare module "@extra-array/some" { import type { testFn } from "./_types"; /** * Checks if any value satisfies a test. * @param x an array * @param ft test function (v, i, x) */ declare function some<T>(x: T[], ft?: testFn<T>): boolean; export = some; //# sourceMappingURL=some.d.ts.map}