sum

fun sum(): Float(source)

Returns the sum of all elements in the list.