Checks if the given string is exclusively of the specific case.
Note that some characters have no casing, such as punctuation (they have no difference between
upper and lower casings). By default, those letters always return true for this function,
regardless of which caseType is provided. To instead return false for any such characters,
pass in an options object and set rejectNoCaseCharacters to true.
Checks if the given string is exclusively of the specific case.
Note that some characters have no casing, such as punctuation (they have no difference between upper and lower casings). By default, those letters always return
truefor this function, regardless of whichcaseTypeis provided. To instead returnfalsefor any such characters, pass in an options object and setrejectNoCaseCharactersto true.