Skip to content

Commit

Permalink
fix: dropUntil.ts example
Browse files Browse the repository at this point in the history
  • Loading branch information
hg-pyun committed Apr 25, 2024
1 parent f7d63de commit 82f313d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Lazy/dropUntil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ function async<A, B>(
*
* @example
* ```ts
* const iter = dropUntil((a) => a < 3, [1, 2, 3, 4, 5, 1, 2]);
* iter.next(); // {done:false, value: 3}
* iter.next(); // {done:false, value: 4}
* const iter = dropUntil((a) => a > 3, [1, 2, 3, 4, 5, 1, 2]);
* iter.next(); // {done:false, value: 5}
* iter.next(); // {done:false, value: 1}
* iter.next(); // {done:false, value: 2}
*
* // with pipe
* pipe(
Expand Down

0 comments on commit 82f313d

Please sign in to comment.