respect-validation/docs/Identical.md
Henrique Moody 66027b85a5 Documentation improvements
- Add a space after comments with `//`;
- Add missing "See also" sections in some files
2015-10-19 22:55:05 -02:00

322 B

Identical

  • v::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}}.


See also: