From 8a2bff9cafdc04cd8b42a1beae3860e9e70ac5eb Mon Sep 17 00:00:00 2001 From: Haegul Pyun Date: Fri, 26 Apr 2024 18:05:09 +0900 Subject: [PATCH] fix: dropUntil.ts example (#272) --- src/Lazy/dropUntil.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Lazy/dropUntil.ts b/src/Lazy/dropUntil.ts index 75f73266..235b054e 100644 --- a/src/Lazy/dropUntil.ts +++ b/src/Lazy/dropUntil.ts @@ -70,10 +70,10 @@ function async( * * @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(