toggle menu
webflows
3070ca8
androidJvm
switch theme
search in API
webflows
/
com.schibsted.account.webflows.util
/
Either
/
Right
Right
data
class
Right
<
R
>
(
val
value
:
R
)
:
Either
<
Nothing
,
R
>
Members
Constructors
Right
Link copied to clipboard
constructor
(
value
:
R
)
Properties
value
Link copied to clipboard
val
value
:
R
Functions
map
Link copied to clipboard
fun
<
T
>
map
(
transform
:
(
R
)
->
T
)
:
Either
<
Nothing
,
T
>
Right-biased map.
on
Failure
Link copied to clipboard
fun
onFailure
(
fn
:
(
failure
:
Nothing
)
->
Unit
)
:
Either
<
Nothing
,
R
>
on
Success
Link copied to clipboard
fun
onSuccess
(
fn
:
(
success
:
R
)
->
Unit
)
:
Either
<
Nothing
,
R
>