Skip to main content

truthy

Function truthy 

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

NULL is falsy; otherwise truthy iff the value coerces to a non-zero boolean / number / non-empty string.