Skip to content

Commit ccd3783

Browse files
authoredApr 12, 2021
2 examples
1 parent c669430 commit ccd3783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ You'll rarely need an actual boolean value in Clojure, but it's useful to know h
13131313

13141314
=== `when` vs `if` [[when-instead-of-single-branch-if]]
13151315

1316-
Use `when` instead of `if` with just the truthy branch, as in `(if ... (do ...))`.
1316+
Use `when` instead of `if` with just the truthy branch, as in `(if condition (something...))` or `(if ... (do ...))`.
13171317

13181318
[source,clojure]
13191319
----

0 commit comments

Comments
 (0)