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