Liking cljdoc? Tell your friends :D
All platforms.

utilis.types.keyword


->keywordclj/s

(->keyword v)
(->keyword v default)

Attempts to convert 'v' to a keyword. If it cannot be converted, an options 'default' value is returned.

If no default is specified, a nil is used as the default.

Attempts to convert 'v' to a keyword. If it cannot be converted,
an options 'default' value is returned.

If no default is specified, a nil is used as the default.
raw docstring

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

× close