Skip to contents

A simple extension of %in%.

Usage

x %nonein% vector

Arguments

x

Numeric or character vector.

vector

Numeric or character vector.

Value

TRUE or FALSE.

Examples

3:4 %nonein% 1:3  # FALSE
#> [1] FALSE
4:5 %nonein% 1:3  # TRUE
#> [1] TRUE