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

19 lines
306 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# Consonant
- `v::consonant()`
- `v::consonant(string $additionalChars)`
Similar to `v::alnum()`. Validates strings that contain only consonants:
```php
v::consonant()->validate('xkcd'); // true
```
***
See also:
* [Alnum](Alnum.md)
* [Alpha](Alpha.md)
* [Digit](Digit.md)
* [Vowel](Vowel.md)