Skip to main content

is_enabled

Function is_enabled 

Source
pub fn is_enabled() -> bool
Expand description

Returns true if color output is enabled.

Priority: NO_COLOR (presence disables, per OS convention) > XDG config color = true > default (off).