Join Slack
A question regarding `any` and `all`: do they short-circuit, or do they evaluate the predicates for ...
# getting-started
j
JP
05/23/2020, 6:30 PM
A question regarding
any
and `all`: do they short-circuit, or do they evaluate the predicates for the whole items?
e
EyeCon
05/23/2020, 6:34 PM
Iterable.any()
seems to be short-circuiting.
👍 1
EyeCon
05/23/2020, 6:34 PM
I assume the others are as well, you can just check the source.
75
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by