maxPage

fun maxPage(): Int

Calculates the maximum number of pages, based on the number of items and items per page.

Return

The maximum number of pages.