Returns a portion of elements from the queue at the specified range [begin, end]. begin and end could be negative.
name
begin
end
false on error, otherwise an array containing items.