Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConditionInit<R>

Type parameters

  • R: string

Hierarchy

  • ConditionInit

Index

Methods

Methods

  • match<T>(pattern: RegExp | R | R[], handler: (reality: R) => T): Condition<T, R>
  • Type parameters

    • T

    Parameters

    • pattern: RegExp | R | R[]
    • handler: (reality: R) => T
        • (reality: R): T
        • Parameters

          • reality: R

          Returns T

    Returns Condition<T, R>

Generated using TypeDoc