Skip to content

[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.

ParameterType
programProgram
targetType

Type | undefined