Skip to main content

yaml_lookup_include_section_value

Function yaml_lookup_include_section_value 

Source
pub fn yaml_lookup_include_section_value<'a>(
    root: &'a Value,
    section_path: &str,
) -> Option<&'a Value>
Expand description

Looks up a dotted section in a compiled YAML JSON value.

§Parameters

§Returns

Returns Some when crate::declarative::yaml_lookup_include_section_value can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_lookup_include_section_value(std::path::Path::new("."), todo!());