maxLength method

bool maxLength(
  1. int max
)

Implementation

bool maxLength(int max) {
  return length <= max;
}