jty
    Preparing search index...

    Function isSameRegExp

    • Checks if two RegExp objects are the same.

      Parameters

      • x: unknown

        The first value to compare.

      • ref: RegExp

        The reference RegExp.

      Returns x is RegExp

      true if the regular expressions are the same, false otherwise.

      if ref is not a RegExp.