appending(_:)
Creates a new collection by appending the provided syntax element to the children.
This declaration is deprecated: Create a new array of elements and construct a new collection type from those elements
func appending(_ syntax: Element) -> Self
Parameters
- syntax
The element to append.
Returns
A new collection with that element appended to the end.