kotlin-stdlib / kotlin.math / min min Common JVM JS Native 1.2 fun min(a: Double, b: Double): Double(Common source) (JVM source) (JS source) (Native source) fun min(a: Float, b: Float): Float(Common source) (JVM source) (JS source) (Native source) Returns the smaller of two values. If either value is NaN, then the result is NaN. Common JVM JS Native 1.2 fun min(a: Int, b: Int): Int(Common source) (JVM source) (JS source) (Native source) fun min(a: Long, b: Long): Long(Common source) (JVM source) (JS source) (Native source) Returns the smaller of two values. Common JVM JS Native 1.5 fun min(a: UInt, b: UInt): UInt(source) fun min(a: ULong, b: ULong): ULong(source) Returns the smaller of two values.