In X::OutOfRange§

See primary documentation in context for method range

method range(--> Range:D)

Returns a Range object describing the permissible range for the object returned from .got.