$pageSiblings->hasPrevListed()
Checks if there's a previous listed page in the siblings collection
$pageSiblings->hasPrevListed(Kirby\Cms\Pages|null $collection = null): bool
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Cms\Pages ornull |
null
|
Return type
bool
This method modifies the existing $pagesiblings
object it is applied to and returns it again.
Parent class
Kirby\Cms\PageSiblings