Documentation for method bounds
assembled from the following pages:
Class: Range §
From Range
(Range) method bounds §
method bounds()
Returns a list consisting of the start and end point.
say (1..5).bounds; # OUTPUT: «(1 5)» say (1^..^5).bounds; # OUTPUT: «(1 5)»