Equals

  • v::equals(mixed $value)

Validates if the input is equal to some value.

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

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


See also: