Skip to content

[F] getMinContains

function getMinContains(program, target): number | undefined;

Used in conjunction with the @contains decorator, specifies that the array must contain at least a certain number of the types provided by the @contains decorator.

ParameterType
programProgram
targetType

number | undefined