UNPKG

320 BTypeScriptView Raw
1declare module "@extra-array/drop-while" {
2import type { testFn } from "./_types";
3/**
4 * Discards values from left, while a test passes.
5 * @param x an array
6 * @param ft test function (v, i, x)
7 */
8declare function dropWhile<T>(x: T[], ft: testFn<T>): T[];
9export = dropWhile;
10//# sourceMappingURL=dropWhile.d.ts.map}