[F] getContains
function getContains(program, target): Type | undefined;Specify that the array must contain at least one instance of the provided type.
Use @minContains and @maxContains to customize how many instances to expect.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
target | Type |
Returns
Section titled “Returns”Type | undefined