dash.assert.uniqueSet
Throw error if vector has repeated values
Syntax
Description
dash.assert.uniqueSet(input)
Tests if an input vector has repeated values. If so, throws an error.
Customize error messages and IDs.
Input Arguments
input
any data type
The input vector being tested
inputName
string scalar
The name of the input
header
string scalar
Header for thrown error IDs