Skip to content

[F] sealVisibilityModifiersForProgram

function sealVisibilityModifiersForProgram(program): void

Seals a programโ€™s visibility modifiers.

This affects all properties in the program and prevents any further modifications to visibility modifiers within the program.

Once the modifiers for a program are sealed, they cannot be unsealed.

Parameters

ParameterTypeDescription
programProgramthe program to seal

Returns

void