bitcoin-kmp
0.11.1
common
bitcoin-kmp
/
fr.acinq.bitcoin.utils
/
Either
/
Right
Right
common
data
class
Right
<
Nothing
,
out
R
>
(
val
value
:
R
)
:
Either
<
Nothing
,
R
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Right
Link copied to clipboard
common
fun
<
out
R
>
Right
(
value
:
R
)
Content copied to clipboard
Functions
fold
Link copied to clipboard
common
inline
fun
<
X
>
fold
(
fl
:
(
Nothing
)
->
X
,
fr
:
(
R
)
->
X
)
:
X
Content copied to clipboard
map
Link copied to clipboard
common
inline
fun
<
X
>
map
(
f
:
(
R
)
->
X
)
:
Either
<
Nothing
,
X
>
Content copied to clipboard
transform
Link copied to clipboard
common
inline
fun
<
X
,
Y
>
transform
(
fl
:
(
Nothing
)
->
X
,
fr
:
(
R
)
->
Y
)
:
Either
<
X
,
Y
>
Content copied to clipboard
Properties
isLeft
Link copied to clipboard
common
open
override
val
isLeft
:
Boolean
=
false
Content copied to clipboard
isRight
Link copied to clipboard
common
open
override
val
isRight
:
Boolean
=
true
Content copied to clipboard
left
Link copied to clipboard
common
open
override
val
left
:
Nothing
?
=
null
Content copied to clipboard
right
Link copied to clipboard
common
open
override
val
right
:
R
?
Content copied to clipboard
value
Link copied to clipboard
common
val
value
:
R
Content copied to clipboard