minOfOrNull

inline fun <T> Array<out T>.minOfOrNull(selector: (T) -> Double): Double?(source)
inline fun ByteArray.minOfOrNull(selector: (Byte) -> Double): Double?(source)
inline fun ShortArray.minOfOrNull(selector: (Short) -> Double): Double?(source)
inline fun IntArray.minOfOrNull(selector: (Int) -> Double): Double?(source)
inline fun LongArray.minOfOrNull(selector: (Long) -> Double): Double?(source)
inline fun FloatArray.minOfOrNull(selector: (Float) -> Double): Double?(source)
inline fun DoubleArray.minOfOrNull(selector: (Double) -> Double): Double?(source)
inline fun BooleanArray.minOfOrNull(selector: (Boolean) -> Double): Double?(source)
inline fun CharArray.minOfOrNull(selector: (Char) -> Double): Double?(source)
inline fun <T> Array<out T>.minOfOrNull(selector: (T) -> Float): Float?(source)
inline fun ByteArray.minOfOrNull(selector: (Byte) -> Float): Float?(source)
inline fun ShortArray.minOfOrNull(selector: (Short) -> Float): Float?(source)
inline fun IntArray.minOfOrNull(selector: (Int) -> Float): Float?(source)
inline fun LongArray.minOfOrNull(selector: (Long) -> Float): Float?(source)
inline fun FloatArray.minOfOrNull(selector: (Float) -> Float): Float?(source)
inline fun DoubleArray.minOfOrNull(selector: (Double) -> Float): Float?(source)
inline fun BooleanArray.minOfOrNull(selector: (Boolean) -> Float): Float?(source)
inline fun CharArray.minOfOrNull(selector: (Char) -> Float): Float?(source)

Returns the smallest value among all values produced by selector function applied to each element in the array or null if there are no elements.

If any of values produced by selector function is NaN, the returned result is NaN.

Since Kotlin

1.4

inline fun <T, R : Comparable<R>> Array<out T>.minOfOrNull(selector: (T) -> R): R?(source)
inline fun <R : Comparable<R>> ByteArray.minOfOrNull(selector: (Byte) -> R): R?(source)
inline fun <R : Comparable<R>> ShortArray.minOfOrNull(selector: (Short) -> R): R?(source)
inline fun <R : Comparable<R>> IntArray.minOfOrNull(selector: (Int) -> R): R?(source)
inline fun <R : Comparable<R>> LongArray.minOfOrNull(selector: (Long) -> R): R?(source)
inline fun <R : Comparable<R>> FloatArray.minOfOrNull(selector: (Float) -> R): R?(source)
inline fun <R : Comparable<R>> DoubleArray.minOfOrNull(selector: (Double) -> R): R?(source)
inline fun <R : Comparable<R>> BooleanArray.minOfOrNull(selector: (Boolean) -> R): R?(source)
inline fun <R : Comparable<R>> CharArray.minOfOrNull(selector: (Char) -> R): R?(source)

Returns the smallest value among all values produced by selector function applied to each element in the array or null if there are no elements.

Since Kotlin

1.4

inline fun <T> Iterable<T>.minOfOrNull(selector: (T) -> Double): Double?(source)
inline fun <T> Iterable<T>.minOfOrNull(selector: (T) -> Float): Float?(source)

Returns the smallest value among all values produced by selector function applied to each element in the collection or null if there are no elements.

If any of values produced by selector function is NaN, the returned result is NaN.

Since Kotlin

1.4

inline fun <T, R : Comparable<R>> Iterable<T>.minOfOrNull(selector: (T) -> R): R?(source)

Returns the smallest value among all values produced by selector function applied to each element in the collection or null if there are no elements.

Since Kotlin

1.4

inline fun <K, V> Map<out K, V>.minOfOrNull(selector: (Map.Entry<K, V>) -> Double): Double?(source)
inline fun <K, V> Map<out K, V>.minOfOrNull(selector: (Map.Entry<K, V>) -> Float): Float?(source)

Returns the smallest value among all values produced by selector function applied to each entry in the map or null if there are no entries.

If any of values produced by selector function is NaN, the returned result is NaN.

Since Kotlin

1.4

inline fun <K, V, R : Comparable<R>> Map<out K, V>.minOfOrNull(selector: (Map.Entry<K, V>) -> R): R?(source)

Returns the smallest value among all values produced by selector function applied to each entry in the map or null if there are no entries.

Since Kotlin

1.4