aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/or.html
blob: 5c51267c4311e7f4cbaa38f6c545fe910dbdb382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>or - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="./or.html">or</a><br/>
<br/>
<h1>or</h1>
<a name="pl.treksoft.kvision.cordova$or(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.or.V, pl.treksoft.kvision.cordova.or.E)), pl.treksoft.kvision.cordova.or.V)"></a>
<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">V</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">&gt;</span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="or.html#V"><span class="identifier">V</span></a><span class="symbol">,</span>&nbsp;<a href="or.html#E"><span class="identifier">E</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">or</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$or(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.or.V, pl.treksoft.kvision.cordova.or.E)), pl.treksoft.kvision.cordova.or.V)/fallback">fallback</span><span class="symbol">:</span>&nbsp;<a href="or.html#V"><span class="identifier">V</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-result/-success/index.html"><span class="identifier">Result.Success</span></a><span class="symbol">&lt;</span><a href="or.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span></code>
</BODY>
</HTML>