getValueClearing

open override fun getValueClearing(): AvailObject

Extract the current value of the VariableDescriptor. Fail if the variable has no value. Clear the variable afterward.

Return

The variable's value prior to it being cleared.

Throws

If the current value could not be read, e.g., because the variable is unassigned.