Skip to content

environment

environment() → string · System

Get the current environment name (e.g., "development", "production").

utlx
{
  env: environment(),
  isProduction: environment() == "production"
}

Released under AGPL-3.0.