Skip to content

Kirby 4.5.0

$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