IterableExtensions<T extends Object> extension

Extensions for basic iterable operations that work with any object type.

on

Methods

sumOf(int selector(T element)) → int

Available on Iterable<T>, provided by the IterableExtensions extension

Returns the sum of all values produced by selector function applied to each element in the collection.