R/summarize_data.R
is_unique.Rd
Check if a variable is unique, i.e., there are as many unique values in the object as the total number of values
is_unique(obj)
a vector
unique length
is_unique(1:7)
#> 7 unique values
#> 7 all values
#> [1] TRUE