[F] hasUniqueItems
function hasUniqueItems(program, type): boolean;Checks if an array model or array-valued model property has unique items.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | The program context. |
type | ModelProperty | Model | The model or model property to check. |
Returns
Section titled “Returns”boolean
True if the model or model property has unique items, false otherwise.