tao-test/app/vendor/respect/validation/docs/rules/Consonant.md

306 B

Consonant

  • v::consonant()
  • v::consonant(string $additionalChars)

Similar to v::alnum(). Validates strings that contain only consonants:

v::consonant()->validate('xkcd'); // true

See also: