store/[org.clojure/clojure "1.8.0"] clj::clojure.core/remove-ns

Official Documentation

Add notes
Arities
==================================================
   [sym]

Docstring
==================================================
  Removes the namespace named by the symbol. Use with caution.
  Cannot be used to remove the clojure namespace.

Source

(defn remove-ns
  "Removes the namespace named by the symbol. Use with caution.
  Cannot be used to remove the clojure namespace."
  {:added "1.0"
   :static true}
  [sym] (clojure.lang.Namespace/remove sym))

Example 1

Edit
;; Let's create a namespace and then remove it

(create-ns 'my-new-namespace)
;; => #<Namespace my-new-namespace>

;; removing a namespace will give you the namespace you just deleted, if one
;; existed
(remove-ns 'my-new-namespace)
;; => #<Namespace my-new-namespace>

;; removing a namespace that does not exist, will tell you that nothing was
;; removed, by returning nil, and won't give any errors
(remove-ns 'my-new-namespace)
;; => nil

Uses on crossclj