It will determine whether the provided value is a RegExp object or not.
value
1.0.0
isRegExp(/abc/);// => true Copy
isRegExp(/abc/);// => true
isRegExp(2);// => false Copy
isRegExp(2);// => false
It will determine whether the provided
value
is a RegExp object or not.