Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
min
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun Sequence<Double>.min(): Double?
(source)
Deprecated: Use minOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun Sequence<Float>.min(): Float?
(source)
Deprecated: Use minOrNull instead.
Returns the smallest element.
If any of elements is NaN
returns NaN
.
The operation is terminal.
Exceptions
NoSuchElementException
- if the sequence is empty.
Deprecated: Use minOrNull instead.
Returns the smallest element.
The operation is terminal.
Exceptions
NoSuchElementException
- if the sequence is empty.