Clamps the numeric value between min and max.
min
max
Example:
counter.clamp(0, 10);
void clamp(int min, int max) { value = value.clamp(min, max); }