Swap-Aggregator-Subgraph/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

3 lines
118 B
JavaScript

export default function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}