Function is_cli_enabled

Source
pub fn is_cli_enabled() -> bool
Expand description

Check if the CLI is enabled when running the application.

The CLI always sets this value to true when running the application.

§Note

On Android and the Web, this might not be reliable since there isn’t always a consistent way to pass off the CLI environment variables to the application.