Type Alias Matcher<T, A>

Matcher: { Just: (value: T) => A; Nothing: () => A }

A lightweight object defining how to handle each variant of a Maybe.

Type Parameters

  • T
  • A