R/notin.R

#' Inverse of the %in% function
#'
#' @param ... See %in% documentation
#'
#' @return Boolean vector
#' @export
#'
#' @examples
#' a = 'a'
#' b = c('b','c','a')
#' 
#' a %notin% b
`%notin%` <- function(...){
  !`%in%`(...)
}
ZwAnto/toolbox documentation built on May 28, 2019, 11:03 p.m.