plusElement

Common
JVM
JS
Native
1.0
fun <T> Sequence<T>.plusElement(element: T): Sequence<T>

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

The operation is intermediate and stateless.