Does this thing contain a shadow variable?

are_shadow(x)

Arguments

x

vector or data.frame

Value

logical vector - TRUE if contains a variable with a column ending in "_NA"

Examples

df_shadow <- bind_shadow(airquality) are_shadow(df_shadow)
#> [1] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE