clojure.core/cond->¶
Takes an expression and a set of test/form pairs. Threads expr (via ->) through each form for which the corresponding test expression is true. Note that, unlike cond branching, cond-> threading does not short circuit after the first true test expression.
Examples¶
See also¶
- clojure.core/cond->>
- clojure.core/-> (4)
- clojure.core/->> (7)
- clojure.core/as-> (4)
- clojure.core/some-> (0)
- clojure.core/some->>
- clojure.core/cond (5)
- clojure.core/if (2)
Content from the matching ClojureDocs page, with authors credited on each contribution.