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