Skip to content

EvalDetails

EvalDetails contains information gathered during CEL evaluation.

new EvalDetails(stateValue?, actualCostValue?): EvalDetails

constructor stores the evaluation state and actual runtime cost observed for the result.

EvalState

number

EvalDetails

actualCost(): number | undefined

actualCost returns the measured runtime cost when cost tracking was enabled.

number | undefined


state(): EvalState | undefined

state returns the expression values observed during evaluation.

EvalState | undefined