Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
Odd()
Validates whether the input is an odd number or not.
v::odd()->validate(0); // false v::odd()->validate(3); // true
Using intVal() before odd() is a best practice.
intVal()
odd()
See also: