string-blank-p

string-blank-p is a compiled Lisp function in `subr-x.el'.

(string-blank-p STRING)

Check whether STRING is either empty or only whitespace.