modalityModifierType¶ fun KtDeclaration.modalityModifierType(): KtModifierKeywordToken? Returns the type of this declaration's modality modifier, or null if none is present. jvm