mirror of
https://github.com/Respect/Validation.git
synced 2024-06-09 01:02:16 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
28 lines
359 B
Markdown
28 lines
359 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
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- Math
|
|
- Numbers
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Even](Even.md)
|
|
- [Odd](Odd.md)
|
|
- [PrimeNumber](PrimeNumber.md)
|