SplDoublyLinkedList::offsetExists
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Returns whether the requested $index exists
Description
SplDoublyLinkedList::offsetExists(int $index): bool
Parameters
indexThe index being checked.
Return Values
true if the requested index exists, otherwise false