Like base::nzchar()
, but for ANSI strings
Arguments
- x
Charcater vector. Other objects are coarced using
base::as.character()
.- ...
Passed to
base::nzchar()
.
Examples
ansi_nzchar("")
#> [1] FALSE
ansi_nzchar(col_red(""))
#> [1] FALSE
Like base::nzchar()
, but for ANSI strings
Charcater vector. Other objects are coarced using
base::as.character()
.
Passed to base::nzchar()
.
ansi_nzchar("")
#> [1] FALSE
ansi_nzchar(col_red(""))
#> [1] FALSE