express.is_express_app

express.is_express_app(app, app_dir)

Detect whether an app file is a Shiny express app

Parameters

app : str

App filename, like “app.py”. It may be a relative path or absolute path.

app_dir : str | None

Directory containing the app file. If this is None, then app must be an absolute path.

Returns

: bool

True if it is a Shiny express app, False otherwise.