between
Validate that a numeric value falls within a closed range [min, max] (inclusive).
decimal
Validate that a number has a specific count of decimal places. Supports an exact form (decimal(2)) and an inclusive range form (decimal(1, 3)).
digits
Validate that an integer has exactly N digits (sign and decimal point excluded).
digitsBetween
Validate that an integer's digit count falls within a closed range [min, max] (inclusive).
equalTo
The value must equal the given number. The control value is coerced numerically (so '42' matches 42); non-numeric values fail.
even
Validate that a value is an even integer.
greaterThan
Validate that a numeric value is strictly greater than another field's numeric value.
greaterThanOrEqual
Validate that a numeric value is greater than or equal to another field's numeric value.
inEnum
The value must be one of a TypeScript enum's numeric values. The control value is coerced numerically; non-numeric values fail.
inList
The value must be one of the given numbers. The control value is coerced numerically (so '2' matches 2); non-numeric values fail.
integer
Validate that a value is an integer (whole number, no fractional part).
lesserThan
Validate that a numeric value is strictly less than another field's numeric value.
lesserThanOrEqual
Validate that a numeric value is less than or equal to another field's numeric value.
max
Validate that a numeric value is less than or equal to a literal maximum.
maxDigits
Validate that an integer has at most N digits.
min
Validate that a numeric value is greater than or equal to a literal minimum.
minDigits
Validate that an integer has at least N digits.
multipleOf
Validate that a numeric value is an exact multiple of a given divisor (value % n === 0).
negative
Validate that a numeric value is strictly less than zero.
notEqualTo
The value must not equal the given number. The control value is coerced numerically; non-numeric values pass.
notInList
The value must not be one of the given numbers. The control value is coerced numerically; non-numeric values pass.
numeric
Validate that a value is numeric (integer or floating point, including numeric strings).
odd
Validate that a value is an odd integer.
positive
Validate that a numeric value is strictly greater than zero.