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