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

253 B

Multiple

  • v::multiple(int $multipleOf)

Validates if the input is a multiple of the given parameter

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

See also: