Skip to content

[F] hasUniqueItems

function hasUniqueItems(program, type): boolean;

Checks if an array model or array-valued model property has unique items.

ParameterTypeDescription
programProgramThe program context.
typeModelProperty | ModelThe model or model property to check.

boolean

True if the model or model property has unique items, false otherwise.