Skip to main content

Module range

Module range 

Source
Expand description

Shared helpers for collapsing consecutive numeric or ordinal numbering. Shared helpers for collapsing ordered consecutive numbering into spans.

Enums§

ConsecutiveSegment
One collapsed segment from an ordered numeric sequence.

Functions§

consecutive_segments
Collapse an ordered sequence into standalone values and consecutive ranges.