simple-monad
    Preparing search index...

    Type Alias MatchBadInput<T>

    MatchBadInput: IsUnknown<MatchBadMap<T>> extends true ? never : MatchBadMap<T>

    The handler map Result.matchBad expects for a result T: one callback per reason tag, each receiving the Bad carrying that tag. Resolves to never when T has no failure variants to match.

    Type Parameters

    • T

      The result union being matched.