match
match<
E,A,B>(cases): (outcome) =>B
Defined in: Core/Op.ts:654
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