ns-interns*

functionsince v1.7.10Edit
(ns-interns* sym)

Source docstring:
Returns a map of the intern mappings for the namespace.
Bootstrap only.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn ns-interns*
  [sym]
  (let [ns-obj (find-ns-obj sym)
        ns     (Namespace. ns-obj sym)]
    (letfn [(step [ret k]
              (let [var-sym (symbol (demunge k))]
                (assoc ret
                  var-sym (Var. #(gobject/get ns-obj k)
                            (symbol (str sym) (str var-sym)) {:ns ns}))))]
      (reduce step {} (js-keys ns-obj)))))