Check if all values in a vector are unique
all_unique(x)
x
the vector to check
TRUE if all values in the vector are unique
all_unique(c(1, 2, 3)) # TRUE all_unique(c(1, 2, 2)) # FALSE