Next Prev Up Top Contents Index

characterp

Function
Summary

Tests is an object is a character or character repertoire.

Package

common-lisp

Signature

characterp object &optional repertoire => bool

Arguments

object

The object to be tested.

repertoire

A character repertoire.

Values

bool

t if object is a character (or character repertoire, if repertoire is given); nil otherwise.

Description

This is the predicate for characters (when repertoire is not given), or character repertoires.

See also

character

Example
CL-USER 234 > (characterp #\a :ascii)
T

LispWorks Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index