Port this change from Clojure master to ClojureScript: https://github.com/clojure/clojure/commit/d29219f78e51da66daf1c66108ebebb97c68442f
Implementation guidance:
For Vars, there is a var? predicate, and given a Var v, it is possible to obtain its symbol by using (.-sym v).
Likewise, for keywords, there is a keyword? predicate, and given a Keyword k, it is possible to form a symbol using (symbol (.-fqn k)).
v3 with docstring
v4 now with COMMITED docstrings
CLJS-2958-v4.patch fails in CI
See https://travis-ci.org/mfikes/clojurescript/builds/463020713
Enzzo, also, if you look at the v4 patch, it appears the commit title was lost relative to the original CLJS-2958.patch, which had: