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

getValueInternal

open fun getValueInternal(state: ExpressionState): BooleanTypedValue

Compare the left operand to see it is an instance of the type specified as the right operand. The right operand must be a class.

Parameters

state - the expression state

Exceptions

EvaluationException - if there is a problem evaluating the expression

Return
true if the left operand is an instanceof of the right operand, otherwise false