bitcoin-kmp
0.11.1
common
bitcoin-kmp
/
fr.acinq.bitcoin.utils
Package fr.
acinq.
bitcoin.
utils
Types
Functions
Types
Either
Link copied to clipboard
common
sealed
class
Either
<
out
L
,
out
R
>
Content copied to clipboard
Functions
flat
Map
Link copied to clipboard
common
inline
fun
<
L
,
R
,
X
>
Either
<
L
,
R
>
.
flatMap
(
f
:
(
R
)
->
Either
<
L
,
X
>
)
:
Either
<
L
,
X
>
Content copied to clipboard
get
Or
Default
Link copied to clipboard
common
fun
<
L
,
R
>
Either
<
L
,
R
>
.
getOrDefault
(
defaultValue
:
R
)
:
R
Content copied to clipboard
get
Or
Else
Link copied to clipboard
common
inline
fun
<
L
,
R
>
Either
<
L
,
R
>
.
getOrElse
(
onLeft
:
(
L
)
->
R
)
:
R
Content copied to clipboard