statically_evaluate

Function statically_evaluate 

Source
pub fn statically_evaluate(
    expression: &dyn ExpressionLike,
) -> Result<Arc<Value>>
Expand description

Evaluate an expression statically without external state.

Uses a shared internal ContextLike that allows only pure built-ins and closure parameters. Any access to external variables, inference, or workflow state returns Err. Intended for constant folding and validation by agentic callers.