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

Official Documentation

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

Docstring
==================================================
  Returns the name String of a string, symbol or keyword.

Source

(defn name
  "Returns the name String of a string, symbol or keyword."
  {:tag String
   :added "1.0"
   :static true}
  [x]
  (if (string? x) x (. ^clojure.lang.Named x (getName))))

Example 1

Edit
(name :x)
;; => "x"

(name "x")
;; => "x"

(name 'x)
;; => "x"

Uses on crossclj