string-or-null-p

string-or-null-p is a compiled Lisp function in `subr.el'.

(string-or-null-p OBJECT)

Return t if OBJECT is a string or nil.
Otherwise, return nil.