Checks if value is classified as a RegExp object.
value
RegExp
The value to check.
Returns true if value is correctly classified, else false.
true
false
_.isRegExp(/abc/); // => true _.isRegExp('/abc/'); // => false