Skip to main content

js->clj

functionv1.7

cljs.core/js->clj

(js->clj [x] [x & opts])
Recursively transforms JavaScript arrays into ClojureScript vectors, and JavaScript objects into ClojureScript maps. With option ':keywordize-keys true' will convert object fields from strings to keywords.

No examples yet. Be the first to add one!