Join Slack
Powered by
Is there any way to achieve “forEach” or “ifPresen...
# arrow
p
pivovarit
01/20/2018, 9:26 PM
Is there any way to achieve “forEach” or “ifPresent()” behaviour on
Option
without doing a
fold
to
Unit
?
Copy code
.fold({ Unit }) { println(it) }
Open in Slack
Previous
Next