In Range§
See primary documentation in context for method is-int
method is-int(Range:D: --> Bool:D)
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»