(require '[clojure.string :as s]) ;; blank? is true for nil, empty, or whitespace-only strings (println (s/blank? " ")) (println (s/blank? "x"))
empty or whitespace-only test