| function | since v0.0-2496 |  clojure.core/ns-resolve | Edit | 
(ns-resolve ns sym)(ns-resolve state ns sym)Given a namespace and a symbol return the corresponding var analysis map. Analagous to clojure.core/ns-resolve but returns var analysis map not Var.
(defn ns-resolve
  ([ns sym]
   (ns-resolve env/*compiler* ns sym))
  ([state ns sym]
   {:pre [(symbol? ns) (symbol? sym)]}
   (get-in @state [::ana/namespaces ns :defs sym])))