disable
color_disabled()
¶
Check for environment variable NO_COLOR.
Utilities that format strings with color should call this function to determine if the user wants color in the final output.
Returns:
Type | Description |
---|---|
bool
|
True if it exists and its set to true or 1. |