Shortcut for any(grepl(...)), mostly for consistency.
any_grepl(x, pattern, perl = TRUE, ignore.case = FALSE, fixed = FALSE, quiet = FALSE)
| x | A character vector. |
|---|---|
| pattern, perl, ignore.case, fixed | As in |
| quiet | (logical, default: |
From version v 1.4.0, any_grepl(a, bb) will be internally
reversed to any_grepl(bb, a) if length(bb) > 1 and length(a) == 1.
#> [1] TRUE