minOf

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

Platform and version requirements: Kotlin 1.1

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

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

Platform and version requirements: Kotlin 1.1

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

Platform and version requirements: Kotlin 1.1

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

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Long, b: Long): Long (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Float, b: Float): Float (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Double, b: Double): Double (source)

Platform and version requirements: Kotlin 1.1

Returns the smaller of two values.

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

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Byte, b: Byte, c: Byte): Byte (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Short, b: Short, c: Short): Short (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Int, b: Int, c: Int): Int (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Long, b: Long, c: Long): Long (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(a: Float, b: Float, c: Float): Float (source)

Platform and version requirements: Kotlin 1.1

inline actual fun minOf(
    a: Double,
    b: Double,
    c: Double
): Double
(source)

Platform and version requirements: Kotlin 1.1

Returns the smaller of three values.

fun <T> minOf(
    a: T,
    b: T,
    c: T,
    comparator: Comparator<in T>
): T
(source)

Platform and version requirements: Kotlin 1.1

Returns the smaller of three values according to the order specified by the given comparator.

fun <T> minOf(a: T, b: T, comparator: Comparator<in T>): T (source)

Platform and version requirements: Kotlin 1.1

Returns the smaller of two values according to the order specified by the given comparator. If values are equal, returns the first one.