Skip to main content

eval_expr

Function eval_expr 

Source
pub fn eval_expr(expr: &str, ctx: &ExprContext<'_>) -> Option<Value>
Expand description

One expression: len(path), range(n), path|fallback, !path, path. The function forms wrap the whole expression and are tried first, so a fallback inside their parentheses stays theirs.