IterableNum<N extends num> extension
- on
-
- Iterable<
N>
- Iterable<
Methods
-
max(
{required N ifEmpty}) → N -
Available on Iterable<
Returns the greater value in this iterable. If the iterable is empty, this function returns the specified ifEmpty parameter.N> , provided by the IterableNum extension -
min(
{required N ifEmpty}) → N -
Available on Iterable<
Returns the lesser value in this iterable. If the iterable is empty, this function returns the specified ifEmpty parameter.N> , provided by the IterableNum extension -
subtract(
{required N ifEmpty}) → N -
Available on Iterable<
Returns the subtraction of all values in this iterable. If the iterable is empty, this function returns the specified ifEmpty parameter.N> , provided by the IterableNum extension -
sum(
{required N ifEmpty}) → N -
Available on Iterable<
Returns the sum of all values in this iterable. If the iterable is empty, this function returns the specified ifEmpty parameter.N> , provided by the IterableNum extension