Cuts the page of a list, as a server would: page is 1-based, a page
lower than 1 is read as the first one, a page beyond the last one is
empty, not an error. totalItemsCount of the pagination is ignored: the
list is the whole result.
The list is never mutated; the result is always a new array.
Cuts the page of a list, as a server would:
pageis 1-based, a page lower than 1 is read as the first one, a page beyond the last one is empty, not an error.totalItemsCountof the pagination is ignored: the list is the whole result. The list is never mutated; the result is always a new array.