R/utils-not_in.R

#' '%not_in%' operator
#'
#' @name %not_in%
#' @rdname not_in
#' @keywords internal
#' @export
#' @usage x \%not_in\% table
#' @param x A vector of values
#' @param table A vector of values to compare to `table`
#' @return Returns `TRUE` if `x` is **not** present in `table`
`%not_in%` <- purrr::negate(`%in%`)

Try the hockeyR package in your browser

Any scripts or data that you put into this service are public.

hockeyR documentation built on Oct. 12, 2022, 5:07 p.m.