Skip to content

EvalState

EvalState tracks the values associated with expression ids during execution.

ids(): number[]

ids returns the list of ids with recorded values.

number[]


reset(): void

reset clears the previously recorded expression values.

void


setValue(options): void

setValue records the observed value for the expression id.

EvalStateValueOptions

void


value(exprId): Val | undefined

value returns the observed value for the expression id, if one has been recorded.

number

Val | undefined