The 'char-greaterp' predicate function takes one or more character
arguments. It checks to see if all the character arguments are monotonically
decreasing. T is returned if
the arguments are of monotonically decreasing ASCII value. In the case of two
arguments, this has the effect of testing if 'char1' is greater than
'char2'. This test is case insensitive, the character '#\a' is considered to
be the same ASCII value
(char-greaterp #\a #\b) ; returns NIL (char-greaterp #\b #\a) ; returns T (char-greaterp #\c #\b #\a) ; returns T (char-greaterp #\a #\a) ; returns NIL (char-greaterp #\c #\a #\b) ; returns NIL (char-greaterp #\A #\a) ; returns NIL (char-greaterp #\a #\A) ; returns NIL
See the
char-greaterp
predicate function in the