Options
All
  • Public
  • Public/Protected
  • All
Menu

Allows testing whether a qualifier matches a qualifier pattern.

Hierarchy

  • QualifierMatcher

Index

Constructors

Methods

Constructors

  • Constructs a matcher that will match given qualifiers against a pattern.

    Parameters

    • pattern: undefined | null | Qualifier

      Pattern to match qualifiers. If null or undefined, uses an empty qualifier pattern.

    • flags: Flags

      Controls how to match qualifiers.

    Returns QualifierMatcher

Methods

  • matches(qualifier: undefined | null | Qualifier): boolean
  • Attempts to match the given qualifier against the pattern which was passed to the constructor.

    Parameters

    Returns boolean

Generated using TypeDoc