pub fn declarative_source_append_unique_string_mut(
values: &mut Vec<Value>,
value: &str,
) -> boolExpand description
Appends a string to an array unless the same string is already present.
§Parameters
values: Input consumed bycrate::declarative::declarative_source_append_unique_string_mut.value: Input consumed bycrate::declarative::declarative_source_append_unique_string_mut.
§Returns
Returns true when the condition checked by crate::declarative::declarative_source_append_unique_string_mut 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::declarative_source_append_unique_string_mut.
§Examples
ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_append_unique_string_mut(todo!(), "value");§Related
crate::declarativefor adjacent helpers that share the same runtime surface.