Skip to main content

iter_value

Function iter_value 

Source
pub fn iter_value(v: &Value) -> DogeResult<Vec<Value>>
Expand description

The sequence a for loop walks: a List’s elements, a Str’s characters, or a Dict’s keys in insertion order, captured as an owned snapshot taken when the loop starts. Mutating the original value inside the loop body does not change what the loop visits. Any other value is a catchable type error.