Hey there,

in the Om TodoMVC app inside utils.cljs I found this function:

   (defn hidden [^boolean is-hidden]
     (if is-hidden
       #js {:display "none"}
       #js {}))

I assume the '^boolean' bit is metadata for the function parameter. But what 
does it do? I assumed it would end up as a Google Closure type annotation 
somewhere, but it doesn't seem to.

Regards
Stephan

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to