Skip to content

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

Live example · edit rules or inputOpen in playground
rules
input
Invaliderrors
{
  "floor": "NOT_INTEGER"
}