has_color: Does the current R session support ANSI colors?

View source: R/has_color.R

has_colorR Documentation

Does the current R session support ANSI colors?

Description

From crayon 2.0.0, this function is simply a wrapper on num_ansi_colors().

Usage

has_color()

Value

TRUE if the current R session supports color.

Examples

has_color()

r-lib/crayon documentation built on Oct. 12, 2024, 6:43 a.m.