Skip to content

Commit 2a4460f

Browse files
authored
Apply suggestions from code review
1 parent 41c9fd0 commit 2a4460f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/collection/conditions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func AnyTrue(values ...bool) bool {
144144
return Any(values)
145145
}
146146

147-
// AnyFalseSequence returns true if there is at least one element of the sequence which is false.
147+
// AnyFalseSequence returns true if there is at least one element of the sequence which is false. If the sequence is empty, it also returns true.
148148
func AnyFalseSequence(eq iter.Seq[bool]) bool {
149149
hasElements := false
150150
for e := range eq {

0 commit comments

Comments
 (0)