code: public void expectMin(String name, double minLength, String message) {
          String value = Optional.ofNullable(get(name)).orElse("");
  
          if (StringUtils.isNumeric(value)) {
              if (Double.parseDouble(value) < minLength) {
                  addError(name, Optional.ofNullable(message).orElse(messages.get(Validation.MIN_KEY.name(), name, minLength)));
              }
          } else {
              if (value.length() < minLength) {
                  addError(name, Optional.ofNullable(message).orElse(messages.get(Validation.MIN_KEY.name(), name, minLength)));
              }
          }
      }
docs: Validates a given field to have a minimum length
  
  @param name The field to check
  @param minLength The minimum length
  @param message A custom error message instead of the default one