mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
22 lines
322 B
Markdown
22 lines
322 B
Markdown
# Multiple
|
|
|
|
- `Multiple(int $multipleOf)`
|
|
|
|
Validates if the input is a multiple of the given parameter
|
|
|
|
```php
|
|
v::intVal()->multiple(3)->validate(9); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Even](Even.md)
|
|
- [Odd](Odd.md)
|
|
- [PrimeNumber](PrimeNumber.md)
|