• (blank? s)
True if s is nil, empty, or contains only whitespace.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/string.clj:104 top

(defn blank?
  "True if s is nil, empty, or contains only whitespace."
  {:deprecated "1.2"}
  [^String s]
  (every? (fn [^Character c] (Character/isWhitespace c)) s))
Vars in clojure.contrib.string/blank?: defn every? fn
Used in 0 other vars

Comments top

No comments for blank?. Log in to add a comment.