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 is a website building & hosting documentation for Clojure/Script libraries

× close