UNPKG

333 BTypeScriptView Raw
1declare module "@extra-lists/scan-until" {
2import type { testFn, Lists } from './_types';
3/**
4 * Finds key of first entry not passing a test.
5 * @param x lists
6 * @param ft test function (v, k, x)
7 */
8declare function scanUntil<T, U>(x: Lists<T, U>, ft: testFn<T, U>): T;
9export = scanUntil;
10//# sourceMappingURL=scanUntil.d.ts.map}