Liking cljdoc? Tell your friends :D

eg.platform


cljs-env?clj/s

(cljs-env? env)

Take the &env from a macro, and tell whether we are expanding into cljs. Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing

Take the &env from a macro, and tell whether we are expanding into cljs.
Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing
raw docstring

deftestclj/smacro

(deftest & args)
Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing
raw docstring

if-cljsclj/smacro

(if-cljs then else)

Return then if we are generating cljs code and else for Clojure code. Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing

Return then if we are generating cljs code and else for Clojure code.
Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing
raw docstring

isclj/smacro

(is & args)
Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing
raw docstring

testingclj/smacro

(testing & args)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close