Liking cljdoc? Tell your friends :D
Clojure only.

hara.data.pipeline.base.keyword


wrap-single-keywordclj

(wrap-single-keyword f)

removes the keyword namespace if there is one

(pipeline/normalise {:account {:type :account.type/vip}} {:schema (schema/schema {:account/type [{:type :keyword :keyword {:ns :account.type}}]})} {:normalise-single [wrap-single-keyword]}) => {:account {:type :vip}}

removes the keyword namespace if there is one

(pipeline/normalise {:account {:type :account.type/vip}}
                     {:schema (schema/schema {:account/type [{:type :keyword
                                                              :keyword {:ns :account.type}}]})}
                     {:normalise-single [wrap-single-keyword]})
=> {:account {:type :vip}}
raw 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