Skip to content

Function: isDatabricksAppEnv()

isDatabricksAppEnv(source?): boolean

Detect a Databricks App runtime from its required name, host, and port.

DBX_TOOLS_DATABRICKS_APP_ENV takes precedence when it contains a recognized boolean value. This lets local tools emulate the deployed runtime (true) or lets unusual deployed processes retain local config lookup (false). An absent or unrecognized override falls back to structural detection.

Record<string, string | undefined> = process.env

boolean