modality

Represents modality of the corresponding class.

Modality determines when and where it is possible to extend/implement a class/interface.


Represents modality of the corresponding function.

Modality determines when and where it is possible or mandatory to override a declaration. For additional details, see Modality.

Modality.SEALED is not applicable for KmFunction and setting it as a value results in undefined behavior.


Represents modality of the corresponding property.

Modality determines when and where it is possible or mandatory to override a declaration. For additional details, see Modality.

Modality.SEALED is not applicable for KmProperty and setting it as a value results in undefined behavior.


Represents modality of the corresponding property accessor.

Modality determines when and where it is possible or mandatory to override a declaration. For additional details, see Modality.

Modality.SEALED is not applicable for KmPropertyAccessorAttributes and setting it as a value results in undefined behavior.