Method IsValidCategory
IsValidCategory(char)
Checks whether the specified char category is valid for the input.
public bool IsValidCategory(char ch)
Parameters
chcharCharacter which is used to get the category.
Returns
- bool
trueif category is valid for the input;falseotherwise.
IsValidCategory(UnicodeCategory)
Checks whether the specified char category is valid for the input.
public abstract bool IsValidCategory(UnicodeCategory cat)
Parameters
catUnicodeCategoryCategory to check.
Returns
- bool
trueif category is valid for the input;falseotherwise.