Skip to contents

Verify that which value of a vector is present in another vector

Usage

verify_grep_AinB(.A, .B)

Arguments

.A

String of values to check

.B

Vector of string to check

Value

a vector of the length of values_to_check with TRUE or FALSE if the value appears at least once in .B

Examples


verify_grep_AinB(c("hhs_cat", "fsc_cat"), presentresults_resultstable$analysis_key)
#> hhs_cat fsc_cat 
#>    TRUE   FALSE