From e9ce5b8c5f429cde3af11ae415084ded36096084 Mon Sep 17 00:00:00 2001 From: nitram509 Date: Sat, 15 Feb 2025 22:21:48 +0100 Subject: [PATCH] fix documentation for `All`, which actually returns false --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b6f416..07ba523 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ library chainable. Iteration will terminate early if `false` is encountered. Empty iterators will return `true`. ```go -it.All(slices.Values([]bool{true, false, true})) // true +it.All(slices.Values([]bool{true, false, true})) // false ``` `Any` will return `true` if any value yielded by an iterator is `true`, or `false` otherwise.