Skip to main content

value_items

Function value_items 

Source
pub(crate) fn value_items<'v>(
    value: &'v Value,
    noun: &str,
) -> Result<Vec<&'v Value>, EditError>
Expand description

The items an add value creates: each item of a non-empty list, or the one object. noun names an item in the error, e.g. “a block”.