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
pub fn parse_as_array(
yaml: &StrictYaml,
) -> Result<Vec<StrictYaml>, DotfilesError>
Parse a yaml element as an array.