Returns the global var named by the namespace-qualified symbol, or nil if no var with that name.
user=> (find-var 'clojure.core/map) #'clojure.core/map user=> (find-var 'clojure.core/qwerty) nil user=> (find-var 'map) IllegalArgumentException Symbol must be namespace-qualified clojure.lang.Var.find (Var.java:150)
clojure.core/find-var
For namespaces other than those in Clojure, you must do (require 'the-ns) first, followed by (find-var 'the-ns/the-name). Failing to do this leads to IllegalArgumentException thrown complaining about no such namespace.
(require 'the-ns)
(find-var 'the-ns/the-name)
IllegalArgumentException