match
match<
E,A,B>(cases): (data) =>B
Defined in: Core/These.ts:202
Pattern matches on a These, returning the result of the matching case.
Type Parameters
Section titled “Type Parameters”E
A
B
Parameters
Section titled “Parameters”(e, a) => B
(e) => B
(a) => B
Returns
Section titled “Returns”(
data):B
Parameters
Section titled “Parameters”These<E, A>
Returns
Section titled “Returns”B