Skip to content

Commit

Permalink
feat: dropWhile
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Dec 17, 2023
1 parent bee4626 commit 6497713
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,14 @@ export function takeWhile<T>(
* // -> 10
* ```
*/
export function dropWhile<T>(
it: Iterable<T>,
f: IterablePredicateCallback<T>,
): IterableCircular<T>;
export function dropWhile<T, S extends T>(
it: Iterable<T>,
f: IterableTypePredicateCallback<T, S>,
): IterableCircular<T>;
export function dropWhile<T>(
it: Iterable<T>,
f: IterablePredicateCallback<T>,
Expand Down

0 comments on commit 6497713

Please sign in to comment.