ansi_nzchar {cli}R 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(""))

[Package cli version 3.6.3 Index]