NumIterable extension
Properties
-
average
→ double
-
Returns an average value of elements in the collection.
no setter
-
sum
→ num
-
Returns the sum of all elements in the collection.
no setter
Methods
-
sumOf(num selector(num element))
→ num
-
Returns the sum of all values produced by
selector
function applied to
each element in the collection.