Next Previous Up Top Contents Index

4 The COMMON-LISP Package

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 - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker