method bounds
1 | class Range |
1.1 | (Range) method bounds |
Documentation for method bounds
assembled from the following types:
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)»