R/utils-not_in.R

#' Not in
#'
#' See \code{magrittr::\link[magrittr]{\%>\%}} for details.
#'
#' @name %!in%
#' @keywords internal
#' @export
#' @usage 1:4 \%\!in\% 1:10

`%!in%` <- function (x, table){
  !(match(x, table, nomatch = 0L) > 0L)
}
leandromarino/avaliaR documentation built on May 24, 2019, 12:33 a.m.