R/functions.R
grepl2.Rd
grepl to be used with native pipe |>
grepl2(x, arg1, ic = TRUE, ...)
data to search
pattern
ignore case
arguments passed to grepl.
c("a", "b", "c", "d") |> grepl2("a") #> [1] TRUE FALSE FALSE FALSE