mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Correct underscore builds.
This commit is contained in:
4
dist/lodash.underscore.js
vendored
4
dist/lodash.underscore.js
vendored
@@ -4154,7 +4154,9 @@
|
||||
* // => true
|
||||
*/
|
||||
function isRegExp(value) {
|
||||
return value && typeof value == 'object' && toString.call(value) == regexpClass || false;
|
||||
var type = typeof value;
|
||||
return value && (type == 'function' || type == 'object') &&
|
||||
toString.call(value) == regexpClass || false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user