GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • cli
  • FAQ
  • Reference
  • Building a Semantic CLI
  • From usethis::ui functions to cli
  • cli pluralization
  • Introduction to progress bars in cli
  • Advanced cli progress bars
  • cli color palettes
  • More articles...
  • Changelog

This view

  • Original page
  • New address

GeezerVison is showing cli.r-lib.org — Like base::nzchar(), but for ANSI strings — ansi_nzchar

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

Source: R/ansiex.R
ansi_nzchar.Rd

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

Usage

ansi_nzchar(x, ...)

Arguments

x

Character vector. Other objects are coerced using base::as.character().

...

Passed to base::nzchar().

Examples

ansi_nzchar("")
#> [1] FALSE
ansi_nzchar(col_red(""))
#> [1] FALSE
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.