hey, is there are a way to acomplish this in case ...
# announcements
f
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 }