has_style | R Documentation |
Check if a string has some ANSI styling
has_style(string)
string |
The string to check. It can also be a character vector. |
Logical vector, TRUE
for the strings that have some
ANSI styling.
## The second one has style if crayon is enabled
has_style("foobar")
has_style(red("foobar"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.