Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Match

for typedoc

Hierarchy

  • Match

Implemented by

Index

Methods

Methods

match

  • match<T, U>(matcher: T): U
  • Matches instance to the received matcher and executes appropriate branch.

    Type parameters

    • T: __type

    • U

    Parameters

    • matcher: T

      an object to perform pattern matching

    Returns U

Generated using TypeDoc