kotlin.comparisons.minOf

minOf

fun <T : Comparable<T>> minOf(a: T, b: T): T

Platform and version requirements: Kotlin 1.1

Returns the smaller of two values. If values are equal, returns the first one.

inline fun minOf(a: Byte, b: Byte): Byte

Platform and version requirements: Kotlin 1.1

inline fun minOf(a: Short, b: Short): Short

Platform and version requirements: Kotlin 1.1

inline fun minOf(a: Int, b: Int): Int