[F] hasVisibility
Determines if a property has a specified visibility modifier.
If no visibility modifiers have been set for the visibility class of the modifier, the visibility class’s default modifier set is used.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | the program in which the property occurs |
property | ModelProperty | the property to check |
modifier | EnumMember | the visibility modifier to check for |
Returns
boolean
true if the property has the visibility modifier, false otherwise