%out% is an inverted version of the infix %in% operator.

x %out% table

Arguments

x

vector: the values to be matched. Long vectors are supported.

table

vector or NULL: the values to be matched against.

Value

logical; if x is not present in table

Details

%out% is currently defined as "%out%" <- function(x, table) match(x, table, nomatch = 0) == 0

Examples

c("A", "B", "3") %out% LETTERS
#> [1] FALSE FALSE  TRUE