Types

NumRange

Parent types

Methods

[](arr:Arr, range:NumRange)
[](s:Str, range:NumRange)
Get substring
[](arr:Arr, r:NumRange)
Get array elements at specified indexes. Indexes specified by NumRange.
[](s:Str, r:NumRange)
Get a substring. Indexes in s are specified by NumRange.
[]=(arr:Arr, range:NumRange, replacement:Arr)
[]=(s:Str, range:NumRange, replacement:Str)
Change substring
each(r:NumRange, cb:Fun)
Iterates over the elements of r, passing each in turn to cb.
init(i:RangeIter, r:NumRange)
Iter(r:NumRange)
rand(r:NumRange)
Pick one random element from a range