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