4.2 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
string-or-null-p object​
This function returns t
if object
is a string or nil
. It returns 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.