$pagination->isFirstPage()
Checks if the current page is the first page
$pagination->isFirstPage(): bool
Return type
bool
This method modifies the existing $pagination
object it is applied to and returns it again.
Parent class
Kirby\Cms\Pagination
inherited from Kirby\Toolkit\Pagination
Examples
$subpages = $page->children()->paginate(10);
$pagination = $subpages->pagination();
if ($pagination->isFirstPage()) {
echo 'This is the first page';
}