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