I have written the following bit of code
(defn create [title url]
(when (not-any? clojure.string/blank? '(title url))
(println "doing stuff")))
However when I call the function
(create "title" "url")
I get the following error and cannot figure out what I am doing wrong
ClassCastException clojure.lang.Symbol cannot be cast to java.lang.CharSequence clojure.string/blank? (string.clj:279)
'(title url)to(sequence [title url])it works so clearly I am misunderstanding what the quote does. Can someone explain or perhaps propose a better way (if it exists)?[title url]