mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Remove isFunction fallback from modern builds
Former-commit-id: 21f51b3041b60136bb07ca775abfe91df7687639
This commit is contained in:
6
dist/lodash.js
vendored
6
dist/lodash.js
vendored
@@ -1548,12 +1548,6 @@
|
||||
function isFunction(value) {
|
||||
return typeof value == 'function';
|
||||
}
|
||||
// fallback for older versions of Chrome and Safari
|
||||
if (isFunction(/x/)) {
|
||||
isFunction = function(value) {
|
||||
return value instanceof Function || toString.call(value) == funcClass;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if `value` is the language type of Object.
|
||||
|
||||
Reference in New Issue
Block a user