Checks whether an object in unique (i.e. doesn't contain any duplicated elements).
check_unique(x, x_name = substitute(x))
| x | The object to check. |
|---|---|
| x_name | A string of the name of the object. |
Throws an informative error or returns an invisible copy of the object.