is_truthy

Function is_truthy 

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

Nunjucks truthiness: null, false, 0/NaN, and "" are falsy.