fun Array<out Double>.min(): Double?
Platform and version requirements: Kotlin 1.1
fun Array<out Float>.min(): Float?
Platform and version requirements: Kotlin 1.1
fun FloatArray.min(): Float?
fun DoubleArray.min(): Double?
fun Iterable<Double>.min(): Double?
Platform and version requirements: Kotlin 1.1
fun Iterable<Float>.min(): Float?
Platform and version requirements: Kotlin 1.1
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?
Returns the smallest element or null
if there are no elements.
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/min.html