respect-validation/docs/rules/Consonant.md
Henrique Moody 1eb5b9d3c5
Add "Decimal" link to related rules
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-10-05 12:49:42 +02:00

31 lines
470 B
Markdown

# Consonant
- `Consonant()`
- `Consonant(string ...$additionalChars)`
Validates if the input contains only consonants.
```php
v::consonant()->validate('xkcd'); // true
```
## Categorization
- Strings
## Changelog
Version | Description
--------|-------------
0.5.0 | Renamed from `Consonants` to `Consonant`
0.3.9 | Created as `Consonants`
***
See also:
- [Alnum](Alnum.md)
- [Alpha](Alpha.md)
- [Decimal](Decimal.md)
- [Digit](Digit.md)
- [Vowel](Vowel.md)