[ClojureScript] Video of ClojureScript & Reagent

2016-04-12 Thread Alan Thompson
Hi - Just saw this nice introduction to ClojureScript and Reagent from the SF Reagent Meetup Group: https://youtu.be/DYzwfekWSzQ Enjoy, Alan -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed

[ClojureScript] Re: Test if something can be dereferenced

2016-04-12 Thread Tatu Tarvainen
Maybe you want satisfies? cljs.user=> (satisfies? IDeref 2) false cljs.user=> (satisfies? IDeref (atom nil))) true -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups

[ClojureScript] Test if something can be dereferenced

2016-04-12 Thread Torsten Uhlmann
Hi, I was trying to determine in ClojureScript if a value passed in can be dereferenced. While it works in Clojure to do (instance? clojure.lang.IDeref (atom nil)) in ClojureScript this returned false for me: (instance? IDeref (atom nil)) It did work to do (instance? Atom (atom nil)), but