Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

prpr.util.macro


cljs-env?clj

(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

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

try-catchclj/smacro

(try-catch & body)

A cross-platform variant of try-catch that catches all normal exceptions. Does not support finally, and does not take an exception class.

A cross-platform variant of try-catch that catches all normal exceptions.
Does not support finally, and does not take an exception class.
sourceraw docstring

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

× close