Liking cljdoc? Tell your friends :D

toucan2.util


->kebab-caseclj

(->kebab-case x)

Like camel-snake-kebab.core/->kebab-case, but supports namespaced keywords.

Like `camel-snake-kebab.core/->kebab-case`, but supports namespaced keywords.
sourceraw docstring

dispatch-on-first-argclj

(dispatch-on-first-arg x & _)

Dispatch on the first argument using [[dispatch-value]], and ignore all other args.

Dispatch on the first argument using [[dispatch-value]], and ignore all other args.
sourceraw docstring

dispatch-on-first-three-argsclj

(dispatch-on-first-three-args x y z & _)

Dispatch on the three arguments using [[protocols/dispatch-value]], and ignore all other args.

Dispatch on the three arguments using [[protocols/dispatch-value]], and ignore all other args.
sourceraw docstring

dispatch-on-first-two-argsclj

(dispatch-on-first-two-args x y & _)

Dispatch on the two arguments using [[protocols/dispatch-value]], and ignore all other args.

Dispatch on the two arguments using [[protocols/dispatch-value]], and ignore all other args.
sourceraw docstring

IsCustomMapcljprotocol

Is this a map a transient row, or created using p/def-map-type? This includes Instances.

Is this a map a transient row, or created using p/def-map-type? This includes Instances.

custom-map?clj

(custom-map? m)
sourceraw docstring

lower-case-enclj

(lower-case-en s)

Locale-agnostic version of [[clojure.string/lower-case]]. clojure.string/lower-case uses the default locale in conversions, turning ID into ıd, in the Turkish locale. This function always uses the Locale/US locale.

Locale-agnostic version of [[clojure.string/lower-case]]. `clojure.string/lower-case` uses the default locale in
conversions, turning `ID` into `ıd`, in the Turkish locale. This function always uses the `Locale/US` locale.
sourceraw docstring

maybe-deriveclj

(maybe-derive child parent)

Derive child from parent only if child is not already a descendant of parent.

Derive `child` from `parent` only if `child` is not already a descendant of `parent`.
sourceraw docstring

try-with-error-contextcljmacro

(try-with-error-context additional-context & body)
source

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

× close