Liking cljdoc? Tell your friends :D

ysera.test


cljs-env?clj/s

(cljs-env? env)

Take the &env from a macro, and tell whether we are expanding into cljs.

Take the &env from a macro, and tell whether we are expanding into cljs.
sourceraw docstring

deftestclj/s≠macro

clj
(deftest name & body)
cljs
(deftest &form &env name & body)
source (clj)source (cljs)

error?clj/smacro

(error? actual)
source (clj)source (cljs)

if-cljsclj/smacro

(if-cljs then else)

Return then if we are generating cljs code and else for Clojure code. https://groups.google.com/d/msg/clojurescript/iBY5HaQda4A/w1lAQi9_AwsJ

Return then if we are generating cljs code and else for Clojure code.
https://groups.google.com/d/msg/clojurescript/iBY5HaQda4A/w1lAQi9_AwsJ
source (clj)source (cljs)raw docstring

isclj/smacro

(is form)
source (clj)source (cljs)

is-notclj/smacro

(is-not actual)
source (clj)source (cljs)

is=clj/smacro

(is= actual expected)
source (clj)source (cljs)

testingclj/smacro

(testing string body)
source (clj)source (cljs)

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

× close