Tupelo - Making Clojure even sweeter
Tupelo - Making Clojure even sweeter
(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.
(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
(native-array? arg)
Returns true iff arg is a native Java or JavaScript array.
Returns true iff arg is a native Java or JavaScript array.
(try-catchall & body)
A cross-platform variant of try-catch that catches all exceptions. Does not (yet) support finally, and does not need or want an exception class.
A cross-platform variant of try-catch that catches all exceptions. Does not (yet) support finally, and does not need or want an exception class.
(type-name-str arg)
Returns the type/class name of a value as a string. Works for both CLJ and CLJS.
Returns the type/class name of a value as a string. Works for both CLJ and CLJS.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close