Skip to main content

cond->>

macrov1.5

clojure.core/cond->>

Available in:BBCLJCLJS
(cond->> [expr & clauses])
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.

No examples yet. Be the first to add one!