github-pages-deploy-action/node_modules/@babel/runtime-corejs3/helpers/isNativeFunction.js

9 lines
274 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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;