docstring for cond

This commit is contained in:
Bhawna Patnaik 2020-05-24 23:37:10 +05:30 committed by GitHub
parent 797133e950
commit 22adeba664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,12 @@ foo ; symbol
```
### Conditional statements with 'cond'
The ```cond``` statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed. Examples are given below:
```(doc cond "this is the documentation for cond")```
The ```cond``` statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed.
```(doc cond "this is the documentation for cond")```
Examples are given below:
```clojure
(defndynamic cond-internal [xs]