Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the result of an fswitch tree expression. Allows retrieving the value returned from the callback of the matched case.

Type parameters

  • T

    The type of the value returned from the callback of the matched case.

Hierarchy

  • SwitchResult

Index

Properties

Properties

match

match: () => T

Returns the value from the callback of the matched case, if any.

Type declaration

    • (): T
    • Returns T

Legend

  • Property

Generated using TypeDoc