Returns a value like cl:both-case-p, but using specified Unicode rules.
lispworks
unicode-both-case-p char &key style => flag
char⇩ |
A character. |
style⇩ |
A keyword. |
flag⇩ |
A generalized boolean. |
The function unicode-both-case-p
returns flag as true if char has case according to the Unicode rules specified by style.
The current implementation only supports one style:
:general-category |
The name of unicode-both-case-p
is slightly confusing, because it matches the ANSI Common Lisp definition "a character with case" whereas there is no guarantee that both cases actually exist. Note also that there are some "alpha" chars which are not lower or upper case.
unicode-alpha-char-p
unicode-lower-case-p
unicode-upper-case-p
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41