# NOT RUN {
A <- data.frame(
col1 = c(1, 2, 3),
col2 = c(4, 5, 6),
col3 = c(7, 8, 9)
)
# will return NULL if child value is included in parent value set
validateIsIncluded("col3", names(A))
# }
Run the code above in your browser using DataLab