KtComparableIterableExtension<T extends Comparable<T>> extension

on

Methods

max() → T?

Available on KtIterable<T>, provided by the KtComparableIterableExtension extension

Returns the largest element or null if there are no elements.
maxOrNull() → T?

Available on KtIterable<T>, provided by the KtComparableIterableExtension extension

Returns the largest element or null if there are no elements.
min() → T?

Available on KtIterable<T>, provided by the KtComparableIterableExtension extension

Returns the smallest element or null if there are no elements.
minOrNull() → T?

Available on KtIterable<T>, provided by the KtComparableIterableExtension extension

Returns the smallest element or null if there are no elements.