@babel/runtime-corejs3
Version:
babel's modular runtime helpers with core-js@3 polyfilling
10 lines • 428 B
JavaScript
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;