fun Array<out Double>.min(): Double?
fun Array<out Float>.min(): Float?
fun FloatArray.min(): Float?
fun DoubleArray.min(): Double?
fun Iterable<Double>.min(): Double?
fun Iterable<Float>.min(): Float?
Returns the smallest element or null
if there are no elements.
If any of elements is NaN
returns NaN
.
fun <T : Comparable<T>> Array<out T>.min(): T?
fun ByteArray.min(): Byte?
fun ShortArray.min(): Short?
fun IntArray.min(): Int?
fun LongArray.min(): Long?
fun CharArray.min(): Char?
fun <T : Comparable<T>> Iterable<T>.min(): T?
@ExperimentalUnsignedTypes fun UIntArray.min(): UInt?
@ExperimentalUnsignedTypes fun ULongArray.min(): ULong?
@ExperimentalUnsignedTypes fun UByteArray.min(): UByte?
@ExperimentalUnsignedTypes fun UShortArray.min(): UShort?
Returns the smallest element or null
if there are no elements.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/min.html