hasProperty¶
Canonical path: o6.hasProperty
hasProperty
¶
Attach a declaration to its containing type through HasProperty.
Returns the declaration unchanged, so the static type of the class
attribute is preserved. Pass None to declare the relationship without a
target instance. On a generated enumeration, this also keeps the linked
node out of Python's enum member table.