AggregateIterable<E> extension
Provides aggregate functions for Iterables.
- on
-
- Iterable<
E>
- Iterable<
Methods
-
average(
Select< E, num> select) → double -
Available on Iterable<
Computes the average of all values. Values are created from this iterable's elements usingE> , provided by the AggregateIterable extensionselect
. -
sum<
R extends num> (Select< E, num> select, {R? initial}) → R -
Available on Iterable<
Computes the sum of all values. Values are created from this iterable's elements usingE> , provided by the AggregateIterable extensionselect
.