-
-
Notifications
You must be signed in to change notification settings - Fork 903
Open
Labels
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