powered by
Does a list contain an object?
contains(.x, .y)
A list or atomic vector.
Object to test for
# NOT RUN { x <- list(1:10, 5, 9.9) x %>% contains(1:10) x %>% contains(3) # }
Run the code above in your browser using DataLab