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

Official Documentation

Add notes

Docstring
==================================================
  The symbol must resolve to a var, and the Var object
itself (not its value) is returned. The reader macro #'x expands to (var x).

Example 1

Edit
*clojure-version*
;; => {:major 1, :minor 5, :incremental 0, :qualifier "RC17"}

var
;; => CompilerException java.lang.RuntimeException: Unable to resolve symbol: var in this context, compiling:(NO_SOURCE_PATH:1:42) 

(var)
;; => CompilerException java.lang.NullPointerException, compiling:(NO_SOURCE_PATH:1:1) 

(var 1)
;; => CompilerException java.lang.ClassCastException: java.lang.Long cannot be cast to clojure.lang.Symbol, compiling:(NO_SOURCE_PATH:1:1) 

(var defn)
;; => #'clojure.core/defn

(var defn 1 2 3 4)
;; => #'clojure.core/defn

Example 2

Edit
;;getting meta-data for a defined symbol (as opposed to what it's pointing to.

meta
;; => #<core$meta clojure.core$meta@2e257f1b>

(var meta)
;; => #'clojure.core/meta

(meta (var meta))
;; => {:ns #<Namespace clojure.core>,
;;     :name meta,
;;     :file "clojure/core.clj",
;;     :line 178,
;;     :arglists ([obj]),
;;     :doc "Returns the metadata of obj, returns nil if there is no metadata.",
;;     :added "1.0"}

Uses on crossclj