Determines if a value is a regular expression object.

  • Parameters

    • value: any

      Reference to check.

    Returns value is RegExp

    True if value is a RegExp.