IntegerΒΆ

Checks if a field contains a valid integer value.

Example Code:

validators {
  DefaultValidator {
    model = DefaultValidator
    config {
      fields {
        age.errorChecks {
          integer {
            model = Integer
          }
        }
      }
    }
  }
}