Elementium Sign in

Sliding groups

Overlapping groups of a list: [1, 2, 3, 4] by 2 → [1, 2], [2, 3], [3, 4]. For streaks, comparisons and moving averages.

Try it in a template

A Discord element (a value) in Values. Needs the Free plan or higher to go live; building and testing are free.

Example

[1, 2, 3] by 2

Also called

pairs next to each other, neighbours, rolling groups, consecutive

What you give it

What it gives back

Related

All Discord elements