evaluate

fun EvaluationContext.evaluate(value: BoundValue): JsonElement

value resolved against this context.

A binding that resolves to nothing yields JsonNull, and so does a function whose return type is void. Every other failure raises — see A2uiFunctionException.

Each call gets a fresh budget, so the bounds in EvaluationLimits are per top-level evaluation rather than per surface or per frame.


fun EvaluationContext.evaluate(call: FunctionCall): JsonElement

call evaluated against this context. @see evaluate