min

fun Array<out Double>.min(): Double? (source)

Platform and version requirements: Kotlin 1.1

fun Array<out Float>.min(): Float? (source)

Platform and version requirements: Kotlin 1.1

fun FloatArray.min(): Float? (source)
fun DoubleArray.min(): Double? (source)
fun Iterable<Double>.min(): Double? (source)

Platform and version requirements: Kotlin 1.1

fun Iterable<Float>.min(): Float? (source)

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? (source)
fun ByteArray.min(): Byte? (source)
fun ShortArray.min(): Short? (source)
fun IntArray.min(): Int? (source)
fun LongArray.min(): Long? (source)
fun CharArray.min(): Char? (source)
fun <T : Comparable<T>> Iterable<T>.min(): T? (source)

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