mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
423 B
423 B
Identical
Identical(mixed $value)
Validates if the input is identical to some value.
v::identical(42)->validate(42); // true
v::identical(42)->validate('42'); // false
Message template for this validator includes {{compareTo}}.
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also: