XLISP lower-case-p

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# lower-case-p

Type: | - | predicate function (subr)
Source: | - | xlstr.c

## Syntax

(lower-case-p char)
  char - a character expression
  returns - T if the character is lower case, NIL otherwise

## Description

The 'lower-case-p' predicate function checks if the 'char' expression is a lower case character. If 'char' is lower case a T is returned, otherwise a NIL is returned. Lower case characters are 'a' [ASCII decimal value 97] through 'z' [ASCII decimal value 122].

## Examples

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

See the lower-case-p predicate function form in the XLISP 2.0 manual.

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference