I’m creating a cljc function that needs to dispatch based on whether one of its args is an atom. This SO answer suggests:
(defn atom? (instance? clojure.lang.IAtom x))
The answer is old and that answer wouldn’t work in cljs, anyway. Is there a simple way to get both? preferably without reader conditionals?