sublist abstract method

$R sublist(
  1. int start, [
  2. int? end
])

Returns a new list with items at index start inclusive to end exclusive.

Implementation

$R sublist(int start, [int? end]);