A few functions to help with resource type names.
A few functions to help with resource type names.
(collection-name resource)
Converts resource keywords to their plural forms, unless it's a singleton resource (e.g. :shop
).
Converts resource keywords to their plural forms, unless it's a singleton resource (e.g. `:shop`).
(member-name resource)
Converts resource keywords to their singular forms.
Converts resource keywords to their singular forms.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close