toggle menu
NavigationApp
jvm
switch theme
search in API
navigation-ux-ev-platform
/
com.mapbox.ev.platform.support
/
Either
/
Right
Right
data
class
Right
<
E
,
A
>
(
val
value
:
A
)
:
Either
<
E
,
A
>
Members
Constructors
Right
Link copied to clipboard
constructor
(
value
:
A
)
Properties
value
Link copied to clipboard
val
value
:
A
Functions
flat
Map
Link copied to clipboard
fun
<
B
>
flatMap
(
f
:
(
A
)
->
Either
<
E
,
B
>
)
:
Either
<
E
,
B
>
fold
Link copied to clipboard
fun
<
C
>
fold
(
ifLeft
:
(
E
)
->
C
,
ifRight
:
(
A
)
->
C
)
:
C
get
Or
Null
Link copied to clipboard
fun
getOrNull
(
)
:
A
?
map
Link copied to clipboard
fun
<
B
>
map
(
f
:
(
A
)
->
B
)
:
Either
<
E
,
B
>