prepending(_:)
Creates a new collection by prepending 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 prepending(_ syntax: Element) -> Self
Parameters
- syntax
The element to prepend.
Returns
A new collection with that element prepended to the beginning.