Use the correct _.isRegExp for the underscore build.

This commit is contained in:
John-David Dalton
2014-07-16 11:30:34 -07:00
parent c10ea527a0
commit 7f19c10da9
2 changed files with 7 additions and 7 deletions

View File

@@ -4795,7 +4795,7 @@
* // => false
*/
function isRegExp(value) {
return (value && typeof value == 'object' && toString.call(value) == regexpClass) || false;
return (isObject(value) && toString.call(value) == regexpClass) || false;
}
/**