-
-
Notifications
You must be signed in to change notification settings - Fork 921
Open
Labels
breaking changeIntroduces changes that break backward compatibility or alter the public API.Introduces changes that break backward compatibility or alter the public API.
Milestone
Description
similar argument to #54 to get an alias
SomeBy sounds very complicated to me and what I'm usually asking is "are any X?"
... ideally Any since to me Any([1,2,3], [1,2]) makes no sense,
but open to AnyBy if that is needed for consistency
lo.SomeBy(list, func(i int) bool { return i % 4 == 0 })
->
lo.Any(list, func(i int) bool { return i % 4 == 0 })
jklaw90
Metadata
Metadata
Assignees
Labels
breaking changeIntroduces changes that break backward compatibility or alter the public API.Introduces changes that break backward compatibility or alter the public API.