goalie.is_vscode

goalie.is_vscode() bool

Check whether the session is running inside VS Code.

Returns:

True if the TERM_PROGRAM environment variable is "vscode".

Return type:

bool

Examples

>>> isinstance(is_vscode(), bool)
True