IterableDoubleExtension extension

Extension on iterables of double.

Specialized version of some extensions of IterableNumberExtension or IterableComparableExtension since doubles are only Comparable<num>.

on

Properties

max double
A maximal element of the iterable.
no setter
maxOrNull double?
A maximal element of the iterable, or null if the iterable is empty.
no setter
min double
A minimal element of the iterable.
no setter
minOrNull double?
A minimal element of the iterable, or null it the iterable is empty.
no setter
sum double
The sum of the elements.
no setter