mirror of
https://github.com/Respect/Validation.git
synced 2024-05-17 21:56:40 +02:00
543b97309a
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
541 B
541 B
LessThan
LessThan(mixed $compareTo)
Validates whether the input is less than a value.
v::lessThan(10)->validate(9); // true
v::lessThan(10)->validate(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: