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