spring-framework / org.springframework.expression.spel.ast / Elvis / getValueInternal

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

Evaluate the condition and if not null, return it. If it is null, return the other value.

Parameters

state - the expression state

Exceptions

EvaluationException - if the condition does not evaluate correctly to a boolean or there is a problem executing the chosen alternative