all_duplicates.Rd
Checks if a vector contains any duplicated values. Unlike duplicated(), it returns TRUE for all values that appear more than once. duplicated() returns TRUE only for the 2nd element.
all_duplicates(x)
Input vector
boolean vector of length length(x).