in_conda_env

in_conda_env()[source]

Detect if the current environment is a conda environment.

Returns

True if the current environment is a conda environment, False otherwise.

Return type

bool