Skip to content

[F] isSealed

function isSealed(
program,
property,
visibilityClass?): boolean

Check if a property has had its visibility modifiers sealed.

If the property has been sealed globally, this function will return true. If the property has been sealed for the given visibility class, this function will return true.

Otherwise, this function returns false.

Parameters

ParameterTypeDescription
programProgram-
propertyModelPropertythe property to check
visibilityClass?Enumthe optional visibility class to check

Returns

boolean

true if the property is sealed for the given visibility class, false otherwise