respect-validation/docs/Int.md
2015-08-20 01:38:41 -03:00

251 B

Int

  • v::int()

Validates if the input is an integer.

v::int()->validate('10'); //true
v::int()->validate(10); //true

See also: