Conformance Examples 0.1.0 — Transforms: transform-append¶
append-string-literal¶
Append a string literal to a string value via {{ greeting | append: "!" }}.
Template
Context
Output
append-identifier-arg¶
Append a value from the context via {{ greeting | append: suffix }}.
Template
Context
Output
append-numeric-arg-coerced¶
Append a numeric argument coerced to string via {{ value | append: 42 }}.
Template
Context
Output
append-null-arg¶
Append a null argument (renders as "null" string) via {{ value | append: null }}.
Template
Context
Output
append-chained-after-upcase¶
Chaining append after upcase: {{ greeting | upcase | append: "!" }}.
Template
Context
Output
append-chained-before-upcase¶
Chaining append before upcase: {{ greeting | append: "!" | upcase }}.
Template
Context
Output
Source fixture: transforms/transform-append.json