cljs.analyzer.api/resolve-extern

functionsince v1.12.116Edit
(resolve-extern sym)
(resolve-extern state sym)

Source docstring:
Given a symbol attempt to look it up in the provided externs
Source code @ clojurescript:src/main/clojure/cljs/analyzer/api.cljc
(defn resolve-extern
  ([sym]
   (resolve-extern env/*compiler* sym))
  ([state sym]
   (let [pre (ana/->pre sym)]
     (env/with-compiler-env state
       (:info (ana/resolve-extern pre))))))