CLCS
Function

stringp

stringp objectgeneralized-boolean

Arguments and Values

objectan object.
generalized-booleana generalized boolean.

Description

Returns true if object is of type string; otherwise, returns false.

Examples

 (stringp "aaaaaa") ⇒  true
 (stringp #\a) ⇒  false

See Also

typep, string (type)

Notes

 (stringp object) ≡ (typep object 'string)