Determines if a value is a regular expression object.
Reference to check.
True if value is a RegExp.
value
RegExp
Determines if a value is a regular expression object.