rocket_dyn_templates::minijinja::tests

Function is_true

Source
pub fn is_true(value: &Value) -> bool
Expand description

Checks if a value is true.

{% if value is true %}...{% endif %}