prepend

fun prepend(data: <Error class: unknown class>? = null): SequenceIter(source)

Adds a new item to the front of @seq

Return

an iterator pointing to the new item

Since

2.14

Parameters

data

the data for the new item