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