$pagination->isFirstPage()

Checks if the current page is the first page

  • return (boolean)

Example

$subpages   = $page->children()->paginate(10);
$pagination = $subpages->pagination();

if($pagination->isFirstPage()) {
  echo 'This is the first page';
}