🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
335 B
JavaScript
Executable File
16 lines
335 B
JavaScript
Executable File
"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
|