Vectorised over string
Arguments
- string
Input vector. Either a character vector, or something coercible to one.
- negate
If
TRUE
, return non-matching elements.
Examples
string <- c(letters[1:4], emoji_name[1:6])
emoji_detect(string)
#> [1] FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE