Skip to content

Commit 83eb34e

Browse files
nitram509BooleanCat
authored andcommitted
fix documentation for All, which actually returns false
1 parent 79c0d91 commit 83eb34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ library chainable.
6565
Iteration will terminate early if `false` is encountered. Empty iterators will return `true`.
6666

6767
```go
68-
it.All(slices.Values([]bool{true, false, true})) // true
68+
it.All(slices.Values([]bool{true, false, true})) // false
6969
```
7070

7171
`Any` will return `true` if any value yielded by an iterator is `true`, or `false` otherwise.

0 commit comments

Comments
 (0)