isNativeFunction.js 268 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 import _indexOfInstanceProperty from "@babel/runtime-corejs3/core-js/instance/index-of"; export default function _isNativeFunction(fn) { var _context; return _indexOfInstanceProperty(_context = Function.toString.call(fn)).call(_context, "[native code]") !== -1; }