UNPKG

@babel/helpers

Version:

Collection of helper functions used by Babel transforms.

16 lines (13 loc) 335 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _isNativeFunction; function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (_e) { return typeof fn === "function"; } } //# sourceMappingURL=isNativeFunction.js.map