store/[org.clojure/clojure "1.8.0"] clj::clojure.core/namespace

Official Documentation

Add notes
Arities
==================================================
   [x]

Docstring
==================================================
  Returns the namespace String of a symbol or keyword, or nil if not present.

Source

(defn namespace
  "Returns the namespace String of a symbol or keyword, or nil if not present."
  {:tag String
   :added "1.0"
   :static true}
  [^clojure.lang.Named x]
    (. x (getNamespace)))

Example 1

Edit
(def x "Foobar")
;; => #'user/x

(namespace 'user/x)
;; => "user"

Uses on crossclj