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.

dash.assert.uniqueSet(input, inputName, header)

Customize error messages and IDs.


Input Arguments

input

any data type
The input vector being tested

inputName

string scalar
The name of the input