Join Slack
Powered by
or map to list of value (Int) and avg that list: `...
# stdlib
h
hoang
06/27/2016, 8:14 AM
or map to list of value (Int) and avg that list:
val average = list.map { it.value }.average()
2
Views
Open in Slack
Previous
Next