summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
blob: 0cfe276f8df3438490cd2cbcc19385abded1fe6f (plain)
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 };