respect-validation/docs/rules/Equals.md
Henrique Moody 2610a380dc
Replace "LazyConsecutive" with "Consecutive"
With this and the Lazy rule, the LazyConsecutive lost its purpose.

While working on it, I did refactor the Domain rule a bit, but mainly to
check how this rule could behave.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-03-06 23:57:49 +01:00

518 B

Equals

  • Equals(mixed $compareTo)

Validates if the input is equal to some value.

v::equals('alganet')->validate('alganet'); // true

Message template for this validator includes {{compareTo}}.

Categorization

  • Comparisons

Changelog

Version Description
1.0.0 Removed identical checking (see Identical)
0.3.9 Created

See also: