Skip to content

Kirby 4.4.1

$pagination->hasPage()

Checks if the given page exists

$pagination->hasPage(int $page): bool

Parameters

Name Type Default
$page * int

Return type

bool

Parent class

Kirby\Cms\Pagination inherited from Kirby\Toolkit\Pagination