Equals(mixed $compareTo)
Validates if the input is equal to some value.
v::equals('alganet')->isValid('alganet'); // true
Message template for this validator includes {{compareTo}}
.
- Comparisons
Version | Description |
---|---|
1.0.0 | Removed identical checking (see Identical) |
0.3.9 | Created |
See also: