adjacentPairs<T> function

List<List<T>> adjacentPairs<T>(
  1. List<T> objects
)

Implementation

List<List<T>> adjacentPairs<T>(List<T> objects) => adjacentNTuples(objects, 2);