Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

upper-case-p

upper-case-p

type: predicate function (subr) 
location: built-in
source file: xlstr.c 
Common LISP compatible: yes
versions: all machines

SYNTAX

(upper-case-p <char> )
        <char>          -       a character expression

DESCRIPTION

The UPPER-CASE-P predicate checks if the <char> expression is an upper case character. If <char> is upper case a T is returned, otherwise a NIL is returned. Upper case characters are 'A' (ASCII decimal value 65) through 'Z' (ASCII decimal value 90).

EXAMPLES

(upper-case-p #\A)                      ; returns T
(upper-case-p #\a)                      ; returns NIL
(upper-case-p #\1)                      ; returns NIL
(upper-case-p #\[)                      ; returns NIL


Go to the first, previous, next, last section, table of contents.