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\Toolkit\Pagination