grapes-notin-grapes: Infix not in operator

%notin%R Documentation

Infix not in operator

Description

Function being basically the opposite of %in% operator. Strictly a QoL thing

Usage

lhs %notin% rhs

Arguments

lhs

An object or vector

rhs

A vector (a set)

Value

The vector of logical values being the negated %in% result

Examples

## Not run: 
 1 %notin% c(2, 1, 3) # -> F
 c(1, 5, 10) %notin% c(2,1,3) # -> F T T

## End(Not run)

JantekM/JantoTools documentation built on Jan. 31, 2023, 1:28 p.m.