objectExpression

fun objectExpression(block: Expression.ExpressionBuilder.() -> Unit): Expression

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