UNPKG

@extra-array/drop-while.min

Version:

Discards values from left, while a test passes.

13 lines (10 loc) 326 B
declare module "@extra-array/drop-while.min" { import type { testFn } from "./_types"; /** * Discards values from left, while a test passes. * @param x an array * @param ft test function (v, i, x) */ declare function dropWhile<T>(x: T[], ft: testFn<T>): T[]; export = dropWhile; //# sourceMappingURL=dropWhile.d.ts.map}