Liking cljdoc? Tell your friends :D

rumext.v2.util


camel-caseclj/s

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

camel-case-keysclj/s

(camel-case-keys m)

Recursively transforms all map keys into camel case.

Recursively transforms all map keys into camel case.
sourceraw docstring

compile-join-classesclj/s

(compile-join-classes)
(compile-join-classes & xs)

Joins strings space separated

Joins strings space separated
sourceraw docstring

compile-map->objectclj/s

(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).
sourceraw docstring

compile-to-jsclj/s

(compile-to-js form)
source

element?clj/s

(element? x)
  • is x a vector? AND
  • first element is a keyword?
- is x a vector?
AND
 - first element is a keyword?
sourceraw docstring

join-classesclj/s

(join-classes classes)

Join the classes with a whitespace.

Join the `classes` with a whitespace.
sourceraw docstring

literal?clj/s

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

map->objcljs

(map->obj o)
source

obj->mapcljs

(obj->map obj)

Convert shallowly an js object to cljs map.

Convert shallowly an js object to cljs map.
sourceraw docstring

props-equals?cljs

(props-equals? eq? new-props old-props)
source

symbol-forcljs

(symbol-for v)
source

unevaluated?clj/s

(unevaluated? expr)

True if the expression has not been evaluated.

  • expr is a symbol? OR
  • it's something like (foo bar)
True if the expression has not been evaluated.
- expr is a symbol? OR
- it's something like (foo bar)
sourceraw docstring

wrap-propscljs

(wrap-props props)
source

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

× close