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 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