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).
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.
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.
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.