rocket_dyn_templates::minijinja::tests

Function is_boolean

Source
pub fn is_boolean(v: Value) -> bool
Expand description

Return true if the object is a boolean value.

{{ true is boolean }} -> true