Returns the current runtime environment as one of the defined Environment enum values.
Environment
The current environment.
const env = getRunTimeEnvironment();if (env === "development") { console.log('Dev mode enabled');} Copy
const env = getRunTimeEnvironment();if (env === "development") { console.log('Dev mode enabled');}
Returns the current runtime environment as one of the defined
Environment
enum values.