(concatv & xs)Concatenate xs and return the result as a vector.
Concatenate `xs` and return the result as a vector.
(maybe-> x pred)If (= (pred x) true), returns x, otherwise nil.
Useful in a clojure.core/some-> threading form.
If `(= (pred x) true)`, returns x, otherwise nil. Useful in a `clojure.core/some->` threading form.
(maybe->> pred x)If (= (pred x) true), returns x, otherwise nil.
Useful in a clojure.core/some->> threading form.
If (= (pred x) true), returns x, otherwise nil. Useful in a `clojure.core/some->>` threading form.
(shortened v limit)Stringifies a value and truncates the result with ellipsis so that it fits on one line.
Stringifies a value and truncates the result with ellipsis so that it fits on one line.
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 |