1 | function _isNativeFunction(fn) {
|
2 | try {
|
3 | return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
4 | } catch (e) {
|
5 | return typeof fn === "function";
|
6 | }
|
7 | }
|
8 | module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; |
\ | No newline at end of file |