Function dilla_renderer::engine::append

source ·
pub fn append(v: Value, append: Value) -> Result<Value, Error>
Expand description

Append a string to the [minijinja::Value] String or Seq.

{{ 'Some'|append('one') }}
  -> Someone
{% set foo = ['foo', 'bar']|append('append') %}
{{ foo|join(', ') }}
  -> foo, bar, append