Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

as_tuples

Sequence.as_tuples

chop this Sequence into tuples of size 2. In case
the number of elements is not a multiple of 2,
the last count % 2 elements will be dropped silently.

ex.

[1,2,3,4,5].tuples produces [(1,2),(3,4)]
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)