R/not_in.R

Defines functions `%!in%`

#' Inverse %in% operator
#'
#' @param x the thing
#' @param y what it is / isn't in
#'
#' @return logical vector, true when x is not in y
#' @export
#'
#' @examples
`%!in%` <- function(x, y) {

  !(x %in% y)

}
blueprint-ade/bputils documentation built on May 29, 2019, 5:57 p.m.