(camel-case k)
Returns camel case version of the key, e.g. :http-equiv becomes :httpEquiv.
Returns camel case version of the key, e.g. :http-equiv becomes :httpEquiv.
(camel-case-keys m)
Recursively transforms all map keys into camel case.
Recursively transforms all map keys into camel case.
(compile-join-classes)
(compile-join-classes & xs)
Joins strings space separated
Joins strings space separated
(compile-map->object m)
Compile a statically known clojure map to js object expression. Mainly used by macros for create js objects at compile time (component props).
Compile a statically known clojure map to js object expression. Mainly used by macros for create js objects at compile time (component props).
(element? x)
- is x a vector? AND - first element is a keyword?
(join-classes classes)
Join the classes
with a whitespace.
Join the `classes` with a whitespace.
(literal? x)
True if x is a literal value that can be rendered as-is.
True if x is a literal value that can be rendered as-is.
(obj->map obj)
Convert shallowly an js object to cljs map.
Convert shallowly an js object to cljs map.
(unevaluated? expr)
True if the expression has not been evaluated.
True if the expression has not been evaluated. - expr is a symbol? OR - it's something like (foo bar)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close