sum

fun sum(): Int(source)

Returns the sum of all elements in the list.