Pairs the passed-in elements of the iterable. If the iterable has less than two values it returns empty.
A sync or async iterable.
Returns an iterable whose values are lists of two elements.
// Returns an iterable representing ['AB','BC','CD','DE','EF','FG']pairs('ABCDEFG') Copy
// Returns an iterable representing ['AB','BC','CD','DE','EF','FG']pairs('ABCDEFG')
Pairs the passed-in elements of the iterable. If the iterable has less than two values it returns empty.