Arities ================================================== [ns] Docstring ================================================== Returns the name of the namespace, a symbol.
Arities ================================================== [ns] Docstring ================================================== Returns the name of the namespace, a symbol.
(defn ns-name
"Returns the name of the namespace, a symbol."
{:added "1.0"
:static true}
[ns]
(.getName (the-ns ns)))
;; get the namespace name as string
(ns-name (the-ns 'user))
;; => "user"