Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 554 Bytes

GreaterThan.md

File metadata and controls

32 lines (21 loc) · 554 Bytes

GreaterThan

  • GreaterThan(mixed $compareTo)

Validates whether the input is greater than a value.

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