match
match<
E,A,B>(cases): (outcome) =>B
Defined in: Core/Op.ts:570
Pattern matches on an Outcome using named case handlers.
Type Parameters
Section titled “Type Parameters”E
A
B
Parameters
Section titled “Parameters”(e) => B
() => B
(a) => B
Returns
Section titled “Returns”(
outcome):B
Parameters
Section titled “Parameters”outcome
Section titled “outcome”Outcome<E, A>
Returns
Section titled “Returns”B