Skip to main content

truthy

Function truthy 

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

Truthiness for ok/conflict predicates: true, a non-zero number, a non-empty string/array/object.