Options
Menu

Return true if an value is valid against specified pattern, otherwise false.

Index

Constructor methods

Properties

Methods

Constructor methods

constructor

  • Default constructor.

    Parameters

    • Pattern?: string optional
      • pattern

    Returns PatternValidator

Properties

Pattern

Pattern: string

tagName

tagName: string

Methods

isAcceptable

  • isAcceptable(s: string): boolean
  • Parameters

    • s: string

    Returns boolean

Generated using TypeDoc