asPlainText

fun asPlainText(component: Component): String

Converts a Component to a plain text string, removing all formatting.

Return

The plain text representation of the Component.

Parameters

component

The Component to convert.