string

open fun string(value: Expression<*>, vararg fallbacks: Expression<*>): Expression<String>

Asserts that the input value is a string. If multiple values are provided, each one is evaluated in order until a string is obtained. If none of the inputs are strings, the expression is an error.