IterableExtensions<T extends Object> extension
Extensions for basic iterable operations that work with any object type.
- on
-
- Iterable<
T>
- Iterable<
Methods
-
sumOf(
int selector(T element)) → int -
Available on Iterable<
Returns the sum of all values produced byT> , provided by the IterableExtensions extensionselectorfunction applied to each element in the collection.