min method

T min(
  1. T x,
  2. T y
)

If x < y, return x, else return y.

Implementation

T min(T x, T y) => lt(x, y) ? x : y;