plainfp - v0.1.0
    Preparing search index...

    Type Alias MatchHandlers<T, U>

    Handler pair for match: one branch per Option case, both returning the same result type U.

    type MatchHandlers<T, U> = {
        none: () => U;
        some: (value: T) => U;
    }

    Type Parameters

    • T
    • U
    Index

    Properties

    Properties

    none: () => U
    some: (value: T) => U