v::even()
Validates an even number.
v::intVal()->even()->validate(2); // true
Using int() before even() is a best practice.
int()
even()
See also: