Skip to main content

yaml_append_indented_block

Function yaml_append_indented_block 

Source
pub fn yaml_append_indented_block(
    buffer: &mut String,
    indent_prefix: &str,
    include_text: &str,
) -> bool
Expand description

Adds indentation to every line of an included YAML block.

§Parameters

§Returns

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

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::declarative::yaml_append_indented_block.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_append_indented_block(&mut [], todo!(), todo!());