import { __commonJS } from "../../_virtual/rolldown_runtime.mjs";
import { require_shams } from "../has-tostringtag/shams.mjs";
import { require_call_bound } from "../call-bound/index.mjs";

//#region ../../node_modules/is-arguments/index.js
var require_is_arguments = /* @__PURE__ */ __commonJS({ "../../node_modules/is-arguments/index.js": ((exports, module) => {
	var hasToStringTag = require_shams()();
	var $toString = require_call_bound()("Object.prototype.toString");
	/** @type {import('.')} */
	var isStandardArguments = function isArguments(value) {
		if (hasToStringTag && value && typeof value === "object" && Symbol.toStringTag in value) return false;
		return $toString(value) === "[object Arguments]";
	};
	/** @type {import('.')} */
	var isLegacyArguments = function isArguments(value) {
		if (isStandardArguments(value)) return true;
		return value !== null && typeof value === "object" && "length" in value && typeof value.length === "number" && value.length >= 0 && $toString(value) !== "[object Array]" && "callee" in value && $toString(value.callee) === "[object Function]";
	};
	var supportsStandardArguments = function() {
		return isStandardArguments(arguments);
	}();
	isStandardArguments.isLegacyArguments = isLegacyArguments;
	/** @type {import('.')} */
	module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
}) });

//#endregion
export default require_is_arguments();

export { require_is_arguments };
//# sourceMappingURL=index.mjs.map