min
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 ULongArray.min(): ULong?
@ExperimentalUnsignedTypes fun UByteArray.min(): UByte?
@ExperimentalUnsignedTypes fun UShortArray.min(): UShort?
Returns the smallest element or null
if there are no elements.