my-idlers/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js

3 lines
118 B
JavaScript
Raw Normal View History

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