Function map_yaml_array

Source
pub fn map_yaml_array<T, F>(
    yaml_array: &StrictYaml,
    process: F,
) -> Result<Vec<T>, DotfilesError>
Expand description

Calls a processing function on all elements of an array, will fail if any of the elements fail to process.

ยงErrors