$page->hasNextListed()
Checks if there's a next listed page in the siblings collection
$page->hasNextListed(): bool
Return type
bool
Example
<?php
echo $page->hasNextListed(); //will echo 1 if true, nothing if false.
?>
Using sort field
<?php
echo $page->hasNextListed('date', 'desc'); //will echo 1 if true, nothing if false.
?>