Type Alias Matcher<T, A>

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

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

Type Parameters

  • T
  • A