Examples
check_var(mtcars, cyl)
#> [1] TRUE
data_list = list(dat1 = mtcars, dat2 = airmiles)
check_element(data_list, dat1)
#> [1] TRUE
check_element(data_list, dat3)
#> [1] FALSE
check_var(mtcars, cyl)
#> [1] TRUE
data_list = list(dat1 = mtcars, dat2 = airmiles)
check_element(data_list, dat1)
#> [1] TRUE
check_element(data_list, dat3)
#> [1] FALSE