CharP

Help Contents Data Structure Primitives Predicates CharP
NumberP IntP

CharP thing
Char? thing


outputs TRUE if the input is a character (a string with length 1), FALSE otherwise.

Examples:

Char? "A		;true  ;-)
Char? Char 27		;true  ;-)
Char? "Hallo		;false  ;-)
Char? [A]		;false  ;-)
Char? 1		;false  ;-)
Char? "1		;true  ;-)
Char? "		;false  ;-)
Char? []		;false  ;-)

Reference:

NumberP IntP