unwrapToExpression

Extension function for Value to unwrap Value to Expression.

Throws exception if couldn't convert.

fun Value.unwrapToExpression(): Expression