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