NumIterableBasics<E extends num> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
average(
[num value(E)?]) → num? -
Available on Iterable<
Returns the average of all the values in this iterable.E> , provided by the NumIterableBasics extension -
max(
[Comparator< E> ? compare]) → E? -
Available on Iterable<
Returns the greatest number inE> , provided by the NumIterableBasics extensionthis
, ornull
ifthis
is empty. -
min(
[Comparator< E> ? compare]) → E? -
Available on Iterable<
Returns the least number inE> , provided by the NumIterableBasics extensionthis
, ornull
ifthis
is empty. -
sum(
[num addend(E)?]) → num -
Available on Iterable<
Returns the sum of all the values in this iterable.E> , provided by the NumIterableBasics extension