katoikia-app/web-ui/web-react/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js

3 lines
118 B
JavaScript

export default function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}