sum

fun sum(): Long(source)

Returns the sum of all elements in the list.