appended
Adds an element at the end of a collection. The original collection is not modified.
.var {letters}
- A
- B
.letters::appended {C} <!-- A, B, C -->Content copied to clipboard
Return
a new collection containing the elements of the original collection followed by value
Parameters
to
collection to add the element to
value
element to add at the end of the collection