mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
Because the document was quite big already, I split the exception handling part to another document.
689 B
689 B
LessThan
LessThan(mixed $compareTo)
Validates whether the input is less than a value.
v::lessThan(10)->isValid(9); // true
v::lessThan(10)->isValid(10); // false
Validation makes comparison easier, check out our supported comparable values.
Message template for this validator includes {{compareTo}}.
Categorization
- Comparisons
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Created |
See also: