integer
Checks that the value is an integer. Strings that look like integers are accepted and returned as numbers.
Error codes: NOT_INTEGER, FORMAT_ERROR
rules
input
Invaliderrors
{
"floor": "NOT_INTEGER"
}Checks that the value is an integer. Strings that look like integers are accepted and returned as numbers.
Error codes: NOT_INTEGER, FORMAT_ERROR
{
floor: 'integer'
}{
floor: '2.5'
}{
"floor": "NOT_INTEGER"
}