blob: 9aa0bfc568fc6b298ab017186a8b6104ab77ca7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Result.fold - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">Result</a> / <a href="./fold.html">fold</a><br/>
<br/>
<h1>fold</h1>
<a name="pl.treksoft.kvision.cordova.Result$fold(kotlin.Function1((pl.treksoft.kvision.cordova.Result.V, pl.treksoft.kvision.cordova.Result.fold.X)), kotlin.Function1((pl.treksoft.kvision.cordova.Result.E, pl.treksoft.kvision.cordova.Result.fold.X)))"></a>
<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">X</span><span class="symbol">></span> <span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Result$fold(kotlin.Function1((pl.treksoft.kvision.cordova.Result.V, pl.treksoft.kvision.cordova.Result.fold.X)), kotlin.Function1((pl.treksoft.kvision.cordova.Result.E, pl.treksoft.kvision.cordova.Result.fold.X)))/success">success</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#V"><span class="identifier">V</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="fold.html#X"><span class="identifier">X</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Result$fold(kotlin.Function1((pl.treksoft.kvision.cordova.Result.V, pl.treksoft.kvision.cordova.Result.fold.X)), kotlin.Function1((pl.treksoft.kvision.cordova.Result.E, pl.treksoft.kvision.cordova.Result.fold.X)))/failure">failure</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#E"><span class="identifier">E</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="fold.html#X"><span class="identifier">X</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="fold.html#X"><span class="identifier">X</span></a></code>
</BODY>
</HTML>
|