min<T extends num> static method

T min<T extends num>(
  1. T a,
  2. T b
)

Return lowest of two values

Implementation

static T min<T extends num>(T a, T b)
{
  if (a < b) {
    return a;
  }
  else {
    return b;
  }
}