clojure.reflect/meta

functionsince v0.0-1503Edit
(meta sym cb)

Source docstring:
Queries the reflection api with a fully qualified symbol, then calls
callback fn cb with the evaluated cljs map containing that symbol's
meta information.
Source code @ clojurescript:src/main/cljs/clojure/reflect.cljs
(defn meta
  [sym cb]
  (query-reflection (str "var=" (js/encodeURIComponent (str sym)))
                    #(cb (evaluate-javascript %))))