Function anstyle_query::is_ci

source ·
pub fn is_ci() -> bool
Expand description

Report whether this is running in CI

CI is a common environment where, despite being piped, ansi color codes are supported

This is not as exhaustive as you’d find in a crate like is_ci but it should work in enough cases.