Function rocket_dyn_templates::minijinja::filters::bool
source ยท pub fn bool(value: Value) -> bool
Expand description
Converts the value into a boolean value.
This behaves the same as the if statement does with regards to handling of boolean values.
{{ 42|bool }} -> true