Skip to content

Numeric validators — Integer

Identical logic to Float, but stricter.

Integer — all comparison operators

Used for

Counts, indices, whole-number classifications.

How it works

  • Requires the value to be an integer
  • Applies comparison logic

What it will find

  • Valid whole-number values

What it will not find

  • Decimal numbers
  • Text values
  • Boolean values masquerading as numbers