asText

fun asText(): String

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