ns-unmap

macrosince v0.0-3169 clojure.core/ns-unmapEdit
(ns-unmap quoted-ns quoted-sym)

Source docstring:
Removes the mappings for the symbol from the namespace.
Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro ns-unmap
  [quoted-ns quoted-sym]
  (core/assert
    (core/and (seq? quoted-ns) (= (first quoted-ns) 'quote) (core/symbol? (second quoted-ns))
              (seq? quoted-sym) (= (first quoted-sym) 'quote) (core/symbol? (second quoted-sym)))
    "Arguments to ns-unmap must be quoted symbols")
  (core/let [ns (second quoted-ns)
             sym (second quoted-sym)]
    (swap! env/*compiler* update-in [::ana/namespaces ns :defs] dissoc sym)
    `(js-delete ~(comp/munge ns) ~(comp/munge (core/str sym)))))