(->map-kebab-case m)
Transforms all map keys to kebab-case keywords.
Transforms all map keys to kebab-case keywords.
(->map-pascal-case-keyword m)
Transform all map keys to PascalCase keywords
Transform all map keys to PascalCase keywords
(->map-snake-case-string m)
Transform all map keys to snake_case strings.
Transform all map keys to snake_case strings.
(non-blank-string? s)
Predicate to check whether the string s
is a java.lang.String
and
if it's not a blank string.
Predicate to check whether the string `s` is a `java.lang.String` and if it's not a blank string.
(update-if-exists m k update-fn & args)
Update the map m
key k
applying the function update-fn
and
args
if the key's value is truthy. Otherwise, returns the map
unchanged.
Update the map `m` key `k` applying the function `update-fn` and `args` if the key's value is truthy. Otherwise, returns the map unchanged.
(uuid)
(uuid uuid)
If no argument is passed, creates a random UUID. If the passed paramenter is a UUID, returns it verbatim. If it is a string representing a UUID value return the corresponding UUID. Any other value or invalid string returns nil.
If no argument is passed, creates a random UUID. If the passed paramenter is a UUID, returns it verbatim. If it is a string representing a UUID value return the corresponding UUID. Any other value or invalid string returns nil.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close