Type alias MatchFn<Input, Output>

MatchFn<Input, Output>: (<Result>(result: Result) => TypeGuardFn<Input, Result>)

Type Parameters

  • Input

  • Output extends Input

Type declaration

    • <Result>(result: Result): TypeGuardFn<Input, Result>
    • Type Parameters

      • Result extends Output

      Parameters

      • result: Result

      Returns TypeGuardFn<Input, Result>

Generated using TypeDoc