View source: R/unicode_utils.R
| has_emoji | R Documentation |
Checks whether text contains any emoji characters.
has_emoji(text)
text |
Character vector to check for emojis |
Logical vector indicating whether each element contains emojis
has_emoji("Hello world")
has_emoji("Hello world! \U0001F44B")
has_emoji(c("No emoji", "Has emoji \U0001F600", "Also none"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.