Skip to content

Instantly share code, notes, and snippets.

Resolve and Call symbol derived from a string
clj.user.main=> ((-> "clojure.string/blank?" symbol resolve) "")
true
clj.user.main=> ((-> "clojure.string/blank?" symbol resolve) "ivermac")
false

I used Clojure 1.8.0. The example above has been influenced by resolve clojure function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment