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