Middleware for undefining symbols. Fully qualified symbols are interpreted as a var to be unmapped in its original namespace, whereas unqualified symbols are interpreted as both a var and ns alias to be unmapped from the current namespace.
Middleware for undefining symbols. Fully qualified symbols are interpreted as a var to be unmapped in its original namespace, whereas unqualified symbols are interpreted as both a var and ns alias to be unmapped from the current namespace.
(undef {:keys [ns sym symbol]})
Undefines a symbol.
When sym
is unqualified, it is interpreted as both an alias and var to be
unmapped from the namespace ns
.
When qualified (eg. foo/bar
), it is interpreted as a var to be unmapped in
the namespace foo
, which may be an alias in ns
.
Undefines a symbol. When `sym` is unqualified, it is interpreted as both an alias and var to be unmapped from the namespace `ns`. When qualified (eg. `foo/bar`), it is interpreted as a var to be unmapped in the namespace `foo`, which may be an alias in `ns`.
(undef-all {:keys [ns]})
Undefines all symbol mappings and aliases in the namespace.
Undefines all symbol mappings and aliases in the namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close