KtComparableIterableExtension<T extends Comparable<T> > extension
- on
-
- KtIterable<
T>
- KtIterable<
Methods
-
max(
) → T? -
Returns the largest element or
null
if there are no elements. -
maxOrNull(
) → T? -
Returns the largest element or
null
if there are no elements. -
min(
) → T? -
Returns the smallest element or
null
if there are no elements. -
minOrNull(
) → T? -
Returns the smallest element or
null
if there are no elements.