You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
428 B
10 lines
428 B
var _indexOfInstanceProperty = require("core-js-pure/features/instance/index-of.js");
|
|
function _isNativeFunction(t) {
|
|
try {
|
|
var _context;
|
|
return -1 !== _indexOfInstanceProperty(_context = Function.toString.call(t)).call(_context, "[native code]");
|
|
} catch (n) {
|
|
return "function" == typeof t;
|
|
}
|
|
}
|
|
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; |