respect-validation/docs/Odd.md
2017-03-28 11:53:14 +02:00

284 B

Odd

  • Odd()

Validates an odd number.

v::intVal()->odd()->validate(3); // true

Using int() before odd() is a best practice.

Changelog

Version Description
0.3.9 Created

See also: