Blame view

天文台pc/tianwentai-ui/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js 207 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
  function _isNativeFunction(t) {
    try {
      return -1 !== Function.toString.call(t).indexOf("[native code]");
    } catch (n) {
      return "function" == typeof t;
    }
  }
  export { _isNativeFunction as default };