Skip to content

iter::prepend

prepend(items, item)

ParameterTypeDescription
itemsIterable
item*

Returns

(Generator) A generator for the given item prepended to the given Iterable.