# $orderPage->hasPrevUnlisted()

> Checks if there's a previous unlisted page in the siblings collection

- Source: `src/Cms/PageSiblings.php#L44` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/PageSiblings.php#L44>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$orderPage->hasPrevUnlisted(null|Kirby\Cms\Pages $collection = null): bool
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$collection` | `null\|Kirby\Cms\Pages` | `null` |

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\OrderPage` inherited from `Kirby\Cms\Page`
