ansi_nzchar: Like 'base::nzchar()', but for ANSI strings

View source: R/ansiex.R

ansi_nzcharR Documentation

Like base::nzchar(), but for ANSI strings

Description

Like base::nzchar(), but for ANSI strings

Usage

ansi_nzchar(x, ...)

Arguments

x

Charcater vector. Other objects are coarced using base::as.character().

...

Passed to base::nzchar().

Examples

ansi_nzchar("")
ansi_nzchar(col_red(""))

cli documentation built on June 22, 2024, 10:57 a.m.