contains

0th

Percentile

Does a list contain an object?

Does a list contain an object?

Usage
contains(.x, .y)
Arguments
.x

A list or atomic vector.

.y

Object to test for

Aliases
  • contains
Examples
# NOT RUN {
x <- list(1:10, 5, 9.9)
x %>% contains(1:10)
x %>% contains(3)
# }
Documentation reproduced from package purrr, version 0.2.2.2, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.