Garden 🌻

min()

Return the smaller value of these two integers.

Example
min(1, 2) //-> 1
Source Code
public fun min(x: Int, y: Int): Int {
  if x <= y {
    x
  } else {
    y
  }
}