v::intVal()
Validates if the input is an integer.
v::intVal()->validate('10'); //true v::intVal()->validate(10); //true
See also: