Options
All
  • Public
  • Public/Protected
  • All
Menu

Module string/test

Index

References

Functions

References

Renames and re-exports test

Functions

  • test(regexp: RegExp, str: string): boolean
  • test(regexp: RegExp): (str: string) => boolean
  • Determines whether a given string matches a given regular expression.

    Parameters

    • regexp: RegExp
    • str: string

    Returns boolean

  • Determines whether a given string matches a given regular expression.

    Parameters

    • regexp: RegExp

    Returns (str: string) => boolean

      • (str: string): boolean
      • Parameters

        • str: string

        Returns boolean

Generated using TypeDoc