IterableMathNum extension

Extends Iterable<num> with additional basic methods.

on

Properties

highest num
Returns the highest value in the list.
no setter
isDecremental bool
Returns true if every number in the list is less than or equal to than the number preceding it.
no setter
isIncremental bool
Returns true if every number in the list is greater than or equal to the number preceding it.
no setter
lowest num
Returns the lowest value in the list.
no setter

Methods

absSum([bool invert = false]) num
Returns the sum of the absolute values in the iterable.
sum() num
Returns the sum of the values in the iterable.