mapBoth
mapBoth<
A,C,B,D>(onFirst,onSecond): (data) =>These<C,D>
Defined in: Core/These.ts:139
Transforms both the first and second values independently.
Type Parameters
Section titled “Type Parameters”A
C
B
D
Parameters
Section titled “Parameters”onFirst
Section titled “onFirst”(a) => C
onSecond
Section titled “onSecond”(b) => D
Returns
Section titled “Returns”(
data):These<C,D>
Parameters
Section titled “Parameters”These<A, B>
Returns
Section titled “Returns”These<C, D>