IterableConsecutive<T> extension

Consecutive pairs from a list.

on

Methods

consecutivePairs() List<(T, T)>

Available on List<T>, provided by the IterableConsecutive extension

Adjacent pairs of elements; empty if length < 2.