Readium
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Readium
readium-shared
/
org.readium.r2.shared.util
/
Either
/
Right
Right
data
class
Right
<
A
,
B
>
(
val
value
:
B
)
:
Either
<
A
,
B
>
Members
Constructors
Right
Link copied to clipboard
constructor
(
value
:
B
)
Properties
left
Link copied to clipboard
val
left
:
A
?
right
Link copied to clipboard
val
right
:
B
?
value
Link copied to clipboard
val
value
:
B
Functions
on
Left
Link copied to clipboard
inline
fun
onLeft
(
action
:
(
value
:
A
)
->
Unit
)
:
Either
<
A
,
B
>
on
Right
Link copied to clipboard
inline
fun
onRight
(
action
:
(
value
:
B
)
->
Unit
)
:
Either
<
A
,
B
>