Skip to main content

or_default

Function or_default 

Source
fn or_default(v: Option<&Value>, default: Value) -> Value
Expand description

x or default — a null, empty string or absent value takes the default.