InsertExt<T> extension

Extension to add functionality for inserting an element between each pair of elements in an Iterable.

on

Methods

insertBetween(T element) Iterable<T>

Available on Iterable<T>, provided by the InsertExt extension

Inserts the specified element between each element of the iterable.