Join Slack
Powered by
hey, is there are a way to acomplish this in case ...
# announcements
f
fabio.carballo
01/26/2016, 6:07 PM
hey, is there are a way to acomplish this in case list is empty? and return a value of 0 ``` val total = list.map { it.value }.reduce{ x, y -> x + y }
Open in Slack
Previous
Next