source:
frontend/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
| Last change on this file was 9af201e, checked in by , 13 days ago | |
|---|---|
|
|
| File size: 207 bytes | |
| Line | |
|---|---|
| 1 | function _isNativeFunction(t) { |
| 2 | try { |
| 3 | return -1 !== Function.toString.call(t).indexOf("[native code]"); |
| 4 | } catch (n) { |
| 5 | return "function" == typeof t; |
| 6 | } |
| 7 | } |
| 8 | export { _isNativeFunction as default }; |
Note:
See TracBrowser
for help on using the repository browser.
