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