Description Usage Arguments Examples
See https://clojuredocs.org/clojure.core/cond.
1 |
... |
An odd number of expressions. A set of test/expression
pairs plus an expression to be evalauted if all tests fail. Equivalent
of nested |
1 2 3 4 5 6 7 8 | cond(x < 5, 'a',
x < 2, 'b',
x > 1, 'c',
'd')
# Is transformed to:
# if (x < 5) "a" else
# if (x < 2) "b" else
# if (x > 1) "c" else "d"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.