ns-unmap

added
1.0

ns
clojure.core

type
function

(ns-unmap ns sym)

Removes the mappings for the symbol from the namespace.

                user=> (def foo 1)
#'user/foo

user=> foo
1

user=> (ns-unmap 'user 'foo) ; explicit
nil

user=> (ns-unmap *ns* 'foo) ; convenient
nil

user=> foo
"Unable to resolve symbol: foo in this context"