Liking cljdoc? Tell your friends :D

shopify.resources.names

A few functions to help with resource type names.

A few functions to help with resource type names.
raw docstring

collection-keywordclj

source

collection-nameclj

(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`).
sourceraw docstring

member-keywordclj

source

member-nameclj

(member-name resource)

Converts resource keywords to their singular forms.

Converts resource keywords to their singular forms.
sourceraw docstring

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

× close