jiangchengfeiyi-xiaochengxu/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
2025-01-02 11:13:50 +08:00

8 lines
207 B
JavaScript

function _isNativeFunction(t) {
try {
return -1 !== Function.toString.call(t).indexOf("[native code]");
} catch (n) {
return "function" == typeof t;
}
}
export { _isNativeFunction as default };