any_in: Any In

View source: R/gen_helper-functions.R

any_inR Documentation

Any In

Description

Simply a wrapper for %in% to check if there are any

Usage

any_in(checkVect, refVect)

Arguments

checkVect

the input vector

refVect

the reference vector

Examples

any_in(c(0,4,3,1), c(1,7,6,8)) #returns TRUE
any_in(c(0,4,3), c(1,7,8,6)) #return FALSE


TheAlexBarth/EcotaxaTools documentation built on Nov. 14, 2024, 8:27 p.m.