Documentation for method is-int
assembled from the following pages:
Class: Range §
From Range
(Range) method is-int §
method is-int(Range: --> Bool)
Returns True
if both end points are Int
values.
say ('a'..'d').is-int; # OUTPUT: «False» say (1..^5).is-int; # OUTPUT: «True» say (1.1..5.5).is-int; # OUTPUT: «False»