Skip to main content

yaml_compile_add_value

Function yaml_compile_add_value 

Source
pub fn yaml_compile_add_value(
    context: &mut YamlCompileContext,
    value: Value,
) -> bool
Expand description

Adds a completed value to the active compile container or root.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::yaml_compile_add_value holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_compile_add_value(todo!(), "value");