toggle menu
NavigationApp
jvm
switch theme
search in API
navigation-ux-ev-platform
/
com.mapbox.ev.platform.support
/
Either
/
Left
Left
data
class
Left
<
E
,
A
>
(
val
value
:
E
)
:
Either
<
E
,
A
>
Members
Constructors
Left
Link copied to clipboard
constructor
(
value
:
E
)
Properties
value
Link copied to clipboard
val
value
:
E
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
>
suspend
Fold
Link copied to clipboard
suspend
fun
<
C
>
suspendFold
(
ifLeft
:
suspend
(
E
)
->
C
,
ifRight
:
suspend
(
A
)
->
C
)
:
C