Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f67f26d commit f1da6cdCopy full SHA for f1da6cd
_cheatsheets/index.md
@@ -477,7 +477,7 @@ println(upper.getOrElse(""))</code></pre></td>
477
case Some(x) => f(x)
478
case None => ()
479
}</code></pre></td>
480
- <td>Apply a procedure on optional value. Returns <code>Unit</code>.</td>
+ <td>Apply a procedure on optional value.</td>
481
</tr>
482
<tr>
483
<td><pre class="highlight"><code>option.fold(y)(f(_))</code></pre>
0 commit comments