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 9 | condv(x < 5, 'a',
x < 2, 'b',
x > 1, 'c',
'd')
# Is transformed to:
# ifelse(x < 5, "a",
# ifelse(x < 2, "b",
# ifelse(x > 1, "c",
# "d")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.