You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this way the code would continue iterating even when the condition was already true for one combination, wouldn't it?
We should consider changing either PickBy for offer a limit (maybe as an internal function?) or implement a new one similar to the old one but only finding the first entry and stop searching.
But this way the code would continue iterating even when the condition was already true for one combination, wouldn't it? We should consider changing either PickBy for offer a limit (maybe as an internal function?) or implement a new one similar to the old one but only finding the first entry and stop searching.
True - my implementation is not efficient. a findFirst (which is a special case of findBy(expression, limit), where limit == 1) could be the underlying for the containsBy
ContainsBy would simply be syntactic sugar for:
The text was updated successfully, but these errors were encountered: