Skip to main content

eval_value

Function eval_value 

Source
pub fn eval_value(value: &Value, ctx: &ExprContext<'_>) -> Option<Value>
Expand description

Any template value: strings interpolate, arrays and objects recurse, the $-objects compute (or emit a call when an input is dynamic). None (undefined) results are dropped from objects and arrays; null is kept.