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
sourceraw docstring

cross-throwclj/s

(cross-throw msg)
source

deftestclj/smacro

(deftest & args)
Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing
source (clj)source (cljs)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
source (clj)source (cljs)raw docstring

isclj/smacro

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

testingclj/smacro

(testing & args)
source (clj)source (cljs)

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

× close