tao-test/app/vendor/respect/validation/docs/rules/Even.md

216 B

Even

  • v::even()

Validates an even number.

v::intVal()->even()->validate(2); // true

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


See also: