pub fn yaml_append_indented_block(
buffer: &mut String,
indent_prefix: &str,
include_text: &str,
) -> boolExpand description
Adds indentation to every line of an included YAML block.
§Parameters
buffer: Input consumed bycrate::declarative::yaml_append_indented_block.indent_prefix: Input consumed bycrate::declarative::yaml_append_indented_block.include_text: Input consumed bycrate::declarative::yaml_append_indented_block.
§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!());§Related
crate::declarativefor adjacent helpers that share the same runtime surface.