@babel/runtime-corejs3
Version:
babel's modular runtime helpers with core-js@3 polyfilling
10 lines • 352 B
JavaScript
import _indexOfInstanceProperty from "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;
}
}
export { _isNativeFunction as default };