[F] getUniqueItems
function getUniqueItems(program, target): true | undefined;Check if the given array is annotated with @uniqueItems decorator.
Returns true when the decorator is applied and undefined otherwise, so that callers
can distinguish “not set” from “set” when building constraint objects.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
target | Type |
Returns
Section titled “Returns”true | undefined