github-pages-deploy-action/node_modules/@babel/runtime-corejs3/helpers/isNativeFunction.js
2020-03-06 22:45:40 -05:00

9 lines
274 B
JavaScript

var _indexOfInstanceProperty = require("../core-js/instance/index-of");
function _isNativeFunction(fn) {
var _context;
return _indexOfInstanceProperty(_context = Function.toString.call(fn)).call(_context, "[native code]") !== -1;
}
module.exports = _isNativeFunction;