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