(->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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |