Skip to content

Consonant

  • Consonant(*additional_chars: str)

Validates if the input contains only consonants.

v.consonant().validate('xkcd')  # true
v.consonant('!@#$').validate('!@xk#$cd')  # true
v.consonant('!@#$', '}{?').validate('{!@xk#$cd}')  # true

Categorization

  • Strings

Changelog

Version Description
1.0.0 Created

See also: