Files
codeql-action/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
118 B
JavaScript
Raw Normal View History

2023-01-18 20:50:03 +00:00
export default function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}