Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference
both-case-p
  | Type: | - | predicate function (subr) | 
  | Source: | - | xlstr.c | 
Syntax
- (both-case-p char)
- char - a character expression
 returns -  T  if the character
is alphabetic, NIL otherwise
 
Description
The 'both-case-p' predicate function checks if the 'char'
expression evaluates to an alphabetic character. If 'char'
evaluates to an alphabetic [either an upper or lower case] character
 T  is returned, otherwise
NIL is returned. Note that XLISP is limited to ASCII characters, so there is no way to
find out if an Unicode character is 'both-case-p' if the
char-code is greater than
127.
Examples
(both-case-p #\A)  => T
(both-case-p #\a)  => T
(both-case-p #\1)  => NIL
(both-case-p #\[)  => NIL
See also:
  Back to Top
Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference