@mikuroxina/mini-fn
Preparing search index...
Result
either
Function either
either
<
E
,
R
>
(
g
:
(
e
:
E
)
=>
R
,
)
:
<
T
>
(
f
:
(
t
:
T
)
=>
R
)
=>
(
res
:
Result
.
Result
<
E
,
T
>
)
=>
R
Maps the value in variant by two mappers.
Type Parameters
E
R
Parameters
g
:
(
e
:
E
)
=>
R
The mapper from error.
Returns
<
T
>
(
f
:
(
t
:
T
)
=>
R
)
=>
(
res
:
Result
.
Result
<
E
,
T
>
)
=>
R
The mapped value.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Maps the value in variant by two mappers.