import { type ChainMatches } from "https://deno.land/x/ts_matches@v5.2.0/src/matches.ts";
Methods
when<A, B>(...args: In extends never ? never : WhenArgs<A, B>): ChainMatches<Exclude<In, A>, OutcomeType | B>
defaultTo<B>(value: B): B | OutcomeType
defaultToLazy<B>(getValue: () => B): B | OutcomeType
unwrap(): OutcomeType