min

fun Math.min(a: Long, b: Long): Long (source)
Deprecated: Use minOf or kotlin.math.min instead

Platform and version requirements: JS

Returns the smaller of two values.