min

Common
JVM
JS
Native
1.2

Returns the smaller of two values.

If either value is NaN , then the result is NaN .

Common
JVM
JS
Native
1.2

Returns the smaller of two values.

Common
JVM
JS
Native
1.5
fun min ( a : UInt , b : UInt ) : UInt
(source)

Returns the smaller of two values.