asText

fun asText(): String

Casts this CitationGeneratedContent as a Text and retrieves its kotlin.String value. Throws an exception if the CitationGeneratedContent is not a Text.