DoubleCollection extension

on

Properties

max double
A maximal element of the iterable. If any element is NaN, the result is NaN. The iterable must not be empty.
no setter
maxOrNull double?
A maximal element of the iterable, or null if the iterable is empty. If any element is NaN, the result is NaN.
no setter
min double
A minimal element of the iterable. If any element is NaN, the result is NaN. The iterable must not be empty.
no setter
minOrNull double?
A minimal element of the iterable, or null it the iterable is empty. If any element is NaN, the result is NaN.
no setter
sum double
The sum of the elements. The sum is zero if the iterable is empty.
no setter