user=> (meta #'first)
{:ns #<Namespace clojure.core>, :name first, :file "clojure/core.clj", :line 39, :arglists ([coll]), :doc "Returns the first item in the collection. Calls seq on its\n argument. If coll is nil, returns nil."}
(def
^{:arglists '([obj])
:doc "Returns the metadata of obj, returns nil if there is no metadata."
:added "1.0"}
meta (fn meta [x]
(if (instance? clojure.lang.IMeta x)
(. ^clojure.lang.IMeta x (meta)))))
Comments top
No comments for meta. Log in to add a comment.