@mikuroxina/mini-fn
Preparing search index...
Result
biMap
Function biMap
biMap
<
E
,
D
>
(
mapE
:
(
err
:
E
)
=>
D
,
)
:
<
T
,
U
>
(
mapT
:
(
ok
:
T
)
=>
U
,
)
=>
(
res
:
Result
.
Result
<
E
,
T
>
)
=>
Result
.
Result
<
D
,
U
>
Maps two types on same time by two mappers.
Type Parameters
E
D
Parameters
mapE
:
(
err
:
E
)
=>
D
The function maps
Ok
value.
Returns
<
T
,
U
>
(
mapT
:
(
ok
:
T
)
=>
U
)
=>
(
res
:
Result
.
Result
<
E
,
T
>
)
=>
Result
.
Result
<
D
,
U
>
The mapped value.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Maps two types on same time by two mappers.