isNativeFunction.js 268 B

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