Documentation for method infinite
assembled from the following pages:
Class: Range §
From Range
(Range) method infinite §
method infinite(Range: --> Bool)
Returns True
if either end point was declared with ∞
or *
.
say (1..5).infinite; # OUTPUT: «False» say (1..*).infinite; # OUTPUT: «True»