Next: , Previous: String Basics, Up: Strings and Characters


4.2 The Predicates for Strings

For more information about general sequence and array predicates, see Sequences Arrays Vectors, and Arrays.

— Function: stringp object

This function returns t if object is a string, nil otherwise.

— Function: char-or-string-p object

This function returns t if object is a string or a character (i.e., an integer), nil otherwise.