respect-validation/docs/rules/GreaterThan.md
Henrique Moody 543b97309a
Fix broken documentation links
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-02-19 14:20:39 +01:00

556 B

GreaterThan

  • GreaterThan(mixed $compareTo)

Validates whether the input is greater than a value.

v::greaterThan(10)->validate(11); // true
v::greaterThan(10)->validate(9); // 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: