cljs.analyzer.api/resolve

functionsince v0.0-2496 clojure.core/resolveEdit
(resolve env sym)

Source docstring:
Given an analysis environment resolve a var. Analogous to
clojure.core/resolve
Source code @ clojurescript:src/main/clojure/cljs/analyzer/api.cljc
(defn resolve
  [env sym]
  {:pre [(map? env) (symbol? sym)]}
  (try
    (binding [ana/*private-var-access-nowarn* true]
      (ana/resolve-var env sym
        (ana/confirm-var-exists-throw)))
    (catch #?(:clj Exception :cljs :default) e
      (ana/resolve-macro-var env sym))))