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