mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
430 B
430 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}}.
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Removed identical checking (see Identical) |
| 0.3.9 | Created |
See also: