Join Slack
Powered by
Does there happen to be a method that returns whet...
# announcements
k
karelpeeters
08/16/2017, 8:12 PM
Does there happen to be a method that returns whether a list contains an item that matches a given predicate? Basically something like this:
list.find{it > 5} != null
would be
list.containsMatch{it > 5}
.
Open in Slack
Previous
Next