Does a list contain an object?
Examples
x <- list(1:10, 5, 9.9)
x |> has_element(1:10)
#> [1] TRUE
x |> has_element(3)
#> [1] FALSE
Does a list contain an object?
x <- list(1:10, 5, 9.9)
x |> has_element(1:10)
#> [1] TRUE
x |> has_element(3)
#> [1] FALSE