These functions test the case of a given character.
upper-case-p returns true if character is an uppercase character; otherwise, returns false.
lower-case-p returns true if character is a lowercase character; otherwise, returns false.
both-case-p returns true if character is a character with case; otherwise, returns false.
(upper-case-p #\A)
→(upper-case-p #\a)
→(both-case-p #\a)
→(both-case-p #\5)
→(lower-case-p #\5)
→(upper-case-p #\5)
→;; This next example presupposes an implementation in which #\Bell is an implementation-defined character. (lower-case-p #\Bell)
→
None.
None.
Should signal an error of type type-error if character is not a character.
Function CHAR-UPCASE, Function CHAR-DOWNCASE, {\secref\CharactersWithCase}, {\secref\ImplementationDefinedScripts}
None.