plusElement

inline fun <T> Sequence<T>.plusElement(element: T): Sequence<T>(source)

Returns a sequence containing all elements of the original sequence and then the given element.

The operation is intermediate and stateless.

Since Kotlin

1.0