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: