min_number
Checks that the number is not less than the given value.
Error codes: TOO_LOW, NOT_NUMBER, FORMAT_ERROR
rules
input
Invaliderrors
{
"age": "TOO_LOW"
}Checks that the number is not less than the given value.
Error codes: TOO_LOW, NOT_NUMBER, FORMAT_ERROR
{
age: { min_number: 18 }
}{
age: 16
}{
"age": "TOO_LOW"
}