ifTextContent

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