minLimit method

int minLimit(
  1. int min
)

Implementation

int minLimit(int min) {
  if (this < min) return min;
  return this;
}