/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-1fc5ad1 | Cube Dev Team */
//#region src/tasty/utils/is-dev-env.ts
/**
* Check if we're in a development environment at runtime
* Uses bracket notation to avoid bundler compilation
* Also checks for TASTY_DEBUG localStorage setting
*/
function isDevEnv() {
	if (typeof window !== "undefined" && window.localStorage) try {
		const forceTastyDebug = window.localStorage.getItem("TASTY_DEBUG");
		if (forceTastyDebug !== null && forceTastyDebug.toLowerCase() === "true") return true;
	} catch {}
	if (typeof process === "undefined") return false;
	const nodeEnv = process.env?.["NODE_ENV"];
	return nodeEnv !== "test" && nodeEnv !== "production";
}

//#endregion
export { isDevEnv };
//# sourceMappingURL=is-dev-env.js.map