isNativeFunction.js 118 B

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