Liking cljdoc? Tell your friends :D

bling.util


as-strclj/s

(as-str x)
source

concatvclj/s

(concatv & xs)

Concatenate xs and return the result as a vector.

Concatenate `xs` and return the result as a vector.
sourceraw docstring

get-terminal-widthclj/s

(get-terminal-width)
source

join-linesclj/s

(join-lines coll)
(join-lines sep coll)
source

maybe->clj/s

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

maybe->>clj/s

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

shortenedclj/s

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

sjrclj/s

(sjr n s)
source

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