kotlin-stdlib / kotlin.collections / minOrNull minOrNull Common JVM JS Native 1.4 fun Array<out Double>.minOrNull(): Double?(source) fun Array<out Float>.minOrNull(): Float?(source) fun FloatArray.minOrNull(): Float?(source) fun DoubleArray.minOrNull(): Double?(source) fun Iterable<Double>.minOrNull(): Double?(source) fun Iterable<Float>.minOrNull(): Float?(source) Returns the smallest element or null if there are no elements. If any of elements is NaN returns NaN. Common JVM JS Native 1.4 fun <T : Comparable<T>> Array<out T>.minOrNull(): T?(source) fun ByteArray.minOrNull(): Byte?(source) fun ShortArray.minOrNull(): Short?(source) fun IntArray.minOrNull(): Int?(source) fun LongArray.minOrNull(): Long?(source) fun CharArray.minOrNull(): Char?(source) fun <T : Comparable<T>> Iterable<T>.minOrNull(): T?(source) @ExperimentalUnsignedTypes fun UIntArray.minOrNull(): UInt?(source) @ExperimentalUnsignedTypes fun ULongArray.minOrNull(): ULong?(source) @ExperimentalUnsignedTypes fun UByteArray.minOrNull(): UByte?(source) @ExperimentalUnsignedTypes fun UShortArray.minOrNull(): UShort?(source) Returns the smallest element or null if there are no elements.