Liking cljdoc? Tell your friends :D

rockbox.util

Internal helpers — case conversion between Clojure (kebab-case keywords) and GraphQL (camelCase strings).

Internal helpers — case conversion between Clojure (kebab-case keywords)
and GraphQL (camelCase strings).
raw docstring

camel->kebabclj

(camel->kebab s)

camelCaseName -> kebab-case-name.

camelCaseName -> kebab-case-name.
sourceraw docstring

camelize-keysclj

(camelize-keys x)

Recursively convert all map keys to camelCase strings (for GraphQL variables).

Recursively convert all map keys to camelCase strings (for GraphQL variables).
sourceraw docstring

drop-nilsclj

(drop-nils m)

Strip nil values from a map. Useful when forwarding optional GraphQL args.

Strip nil values from a map. Useful when forwarding optional GraphQL args.
sourceraw docstring

kebab->camelclj

(kebab->camel s)

kebab-case-name -> kebabCaseName. Pass-through for strings without dashes.

kebab-case-name -> kebabCaseName. Pass-through for strings without dashes.
sourceraw docstring

kebabize-keysclj

(kebabize-keys x)

Recursively convert all map keys to kebab-case keywords (for response data).

Recursively convert all map keys to kebab-case keywords (for response data).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close