Check that each value in a vector is unique.
chk_unique(x)
A vector to check.
A logical vector flagging records that have passed or failed the check.
Other vector checks:
chk-dates
,
chk-dummy
,
chk-labels
,
chk-patterns
,
chk-text
,
chk-values