Function dotfiles_core::yaml_util::parse_as_array
source · pub fn parse_as_array(
yaml: &StrictYaml
) -> Result<Vec<StrictYaml>, DotfilesError>
Expand description
Parse a yaml element as an array.
§Errors
- ErrorType::UnexpectedYamlTypeError if yaml is not of type array