mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
536 B
536 B
Factor
Factor(int $dividend)
Validates if the input is a factor of the defined dividend.
v::factor(0)->validate(5); // true
v::factor(4)->validate(2); // true
v::factor(4)->validate(3); // false
Categorization
- Math
- Numbers
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also: