[−][src]Function no_color::is_no_color
pub fn is_no_color() -> bool
Function returns true
if NO_COLOR environment variable exists, false
if
not.
note: std::env::var_os function may panic if key is empty, contains an ASCII equals sign '=' or the NUL character '\0', or when the value contains the NUL character. Read more https://doc.rust-lang.org/std/env/fn.var_os.html