is public

operator

Return type:
Switch
Returns:
If the attribute, entity or notation was declared with a public identifier, the return value is true. Otherwise, it returns false. Replacing is with isnt will reverse these results.
Syntax
(entity | notation) (is | isnt) public
or
attribute attribute-name (is | isnt) public


Purpose

You can use the operator is public to establish if an entity or notation was declared with a public identifier. The operator can also be applied to an attribute value whose declared type is entity, entities or notation.