pub fn eval_truthy(
expr: &str,
engine: &mut Engine,
ctx: &Context,
) -> Result<bool>Expand description
Evaluate a Tera expression as a truthy/falsy boolean. Accepts either a
bare expression (yui.os == 'linux') or a pre-wrapped one
({{ yui.os == 'linux' }}); used wherever the user writes a when
condition (mount entry, render rule, marker link, file-header).