import getEnvVariable from "@racletteCore/lib/getEnvVariable"

/**
 * Check if the application is running in development mode
 * Development mode is enabled when:
 * - RACLETTE_DEBUG_MODE is explicitly set to "true"
 */
export const isDevelopmentMode = (): boolean => {
  return (
    getEnvVariable("RACLETTE_DEBUG_MODE") === "true"
  )
}
