intersperse<I> static method

Conveyor<From<I>, I> intersperse<I>(
  1. I sep
)

Implementation

static Conveyor<From<I>, I> intersperse<I>(I sep) => consume<I, I>((i) => produce(i, produce(sep))).repeatUntilExhausted();