kotlin.comparisons.maxOf
maxOf
fun <T : Comparable<T>> maxOf(a: T, b: T): T
Platform and version requirements: Kotlin 1.1
Returns the greater of two values. If values are equal, returns the first one.
inline fun maxOf(a: Byte, b: Byte): Byte
Platform and version requirements: Kotlin 1.1
inline fun maxOf(a: Short, b: Short): Short
Platform and version requirements: Kotlin 1.1
inline fun maxOf(a: Int, b: Int): Int