Liking cljdoc? Tell your friends :D
Clojure only.

noahtheduke.splint.rules.lint.let-when


let-whenclj

when-let exists so use it.

Examples:

; bad (let [result (some-func)] (when result (do-stuff result)))

; good (when-let [result (some-func)] (do-stuff result))

`when-let` exists so use it.

Examples:

; bad
(let [result (some-func)] (when result (do-stuff result)))

; good
(when-let [result (some-func)] (do-stuff result))
sourceraw 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