whenTextContent

inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?