Does a list contain an object?
A list or atomic vector.
Object to test for
x <- list(1:10, 5, 9.9)
x %>% contains(1:10)
x %>% contains(3)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.